From fdebd9c4ee90a06230a0a6e0a91019de4537dc44 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sat, 11 May 2024 21:15:11 +0200 Subject: changed format specifiers for linux --- Makefile | 2 +- cd_linkedlist.c | 2 +- cs_linkedlist.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f03a4a1..3132a73 100644 --- a/Makefile +++ b/Makefile @@ -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); -- cgit v1.2.3