Fix warnings on #167
This commit is contained in:
parent
8ff3d82f2d
commit
cde8f3f452
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ main(int argc, char **argv)
|
||||||
if (data.show_time) {
|
if (data.show_time) {
|
||||||
double elapsed;
|
double elapsed;
|
||||||
|
|
||||||
if (t1 == -1 || t2 == -1) {
|
if (t1 == ((clock_t) -1) || t2 == ((clock_t) -1)) {
|
||||||
fprintf(stderr, "Failed to get the time.\n");
|
fprintf(stderr, "Failed to get the time.\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue