Updated to remove fmod and string length warnings

This commit is contained in:
2019-03-11 13:07:03 -04:00
parent 0006517e74
commit 628cf67754
2 changed files with 20 additions and 20 deletions

View File

@@ -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));