diff options
| -rw-r--r-- | charf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |
