Updated to remove fmod and string length warnings
This commit is contained in:
@@ -47,7 +47,7 @@ int main(){
|
||||
char* timerStr = getStrStopwatch(&timer);
|
||||
|
||||
//Print the results
|
||||
printf("It took %u nanoseconds to run this program\n", getNanoStopwatch(&timer));
|
||||
printf("It took %lu nanoseconds to run this program\n", getNanoStopwatch(&timer));
|
||||
printf("It took %f microseconds to run this program\n", getMicroStopwatch(&timer));
|
||||
printf("It took %f milliseconds to run this program\n", getMilliStopwatch(&timer));
|
||||
printf("It took %f seconds to run this program\n", getSecondStopwatch(&timer));
|
||||
|
||||
Reference in New Issue
Block a user