Skip to content

Commit

Permalink
Fix warnings on hoedown#167
Browse files Browse the repository at this point in the history
  • Loading branch information
mildsunrise committed Aug 31, 2015
1 parent 8ff3d82 commit cde8f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/hoedown.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cde8f3f

Please sign in to comment.