adjust printf, use unsigned output

This commit is contained in:
Wolfgang Hottgenroth 2019-10-05 00:09:38 +01:00
parent 27dec07ef6
commit 3bb0daacda

View File

@ -72,6 +72,6 @@ int main (void) {
pthread_mutex_unlock(&counterMutex);
double f = 1.0 / (((double) my_diff) / 1000000.0);
printf("%d %d %d %f\n", my_ec, my_counter, my_diff, f);
printf("%u %u %u %f\n", my_ec, my_counter, my_diff, f);
}
}