diff options
author | Oskar <[email protected]> | 2024-05-11 21:15:11 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-05-11 21:15:11 +0200 |
commit | fdebd9c4ee90a06230a0a6e0a91019de4537dc44 (patch) | |
tree | 28746c5cc6abb4a2d76369bb1462a6dfb344897c | |
parent | 2bd0c8f5983e954b25ad9b603229e84d675946b8 (diff) |
changed format specifiers for linux
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | cd_linkedlist.c | 2 | ||||
-rw-r--r-- | cs_linkedlist.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ TESTTARGET2=d_linkedlist-t TESTTARGET3=cs_linkedlist-t TESTTARGET4=cd_linkedlist-t INSTALL_DIRECTORY=/usr/local/bin -MAKEFLAGS += -s +MAKEFLAGS += -j$(nproc) SRCSL=s_linkedlist.c SRCDL=d_linkedlist.c SRCCSL=cs_linkedlist.c diff --git a/cd_linkedlist.c b/cd_linkedlist.c index fc7df88..09674de 100644 --- a/cd_linkedlist.c +++ b/cd_linkedlist.c @@ -79,7 +79,7 @@ int main (void) { printf("\ndata: %d\nprev: %p\nnext: %p\n", p->gg, prev, next); printf("-----------------------------\n"); } - printf("\npass %lld done\n", passstep); + printf("\npass %ld done\n", passstep); passstep = passstep+1; } printf("\nHEAD: %p\n", (void*)wr1); diff --git a/cs_linkedlist.c b/cs_linkedlist.c index 1361ad0..b7075a9 100644 --- a/cs_linkedlist.c +++ b/cs_linkedlist.c @@ -67,7 +67,7 @@ int main (void) { printf("\ndata: %d\nnext: %p\n", p->gg, (void*)p->next); printf("-----------------------------\n"); } - printf("\npass %lld done\n", passstep); + printf("\npass %ld done\n", passstep); passstep = passstep+1; } printf("\nHEAD: %p\n", (void*)wr1); |