From e6bff8c3821469b4475ff1ac9662093a82fae9c3 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Tue, 10 Feb 2026 11:39:33 +0100 Subject: small fixes --- charf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charf.c b/charf.c index cac1138..d2a42c8 100644 --- a/charf.c +++ b/charf.c @@ -528,7 +528,7 @@ void* compute_chunk(void* arguments){ } i += NUM_THREADS; } - printf("Thread %i finished before index %llu.\n",args -> num_thread,i); + printf("Thread %i finished before index %lu.\n",args -> num_thread,i); return NULL; } @@ -543,7 +543,7 @@ void* handle_threads(void* arguments){ } *(args -> is_computing) = false; printf("All calculations finished.\n\n"); - printf(args->message); + printf("%s",args->message); } int main() { -- cgit v1.2.3