Fix warnings on #167

This commit is contained in:
Xavier Mendez 2015-08-31 15:45:48 +02:00
parent 8ff3d82f2d
commit cde8f3f452

View file

@ -443,7 +443,7 @@ main(int argc, char **argv)
if (data.show_time) {
double elapsed;
if (t1 == -1 || t2 == -1) {
if (t1 == ((clock_t) -1) || t2 == ((clock_t) -1)) {
fprintf(stderr, "Failed to get the time.\n");
return 1;
}