aboutsummaryrefslogtreecommitdiff
path: root/charf.c
diff options
context:
space:
mode:
Diffstat (limited to 'charf.c')
-rw-r--r--charf.c4
1 files 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() {