summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/hoedown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hoedown.c b/bin/hoedown.c
index c0e5279..175471a 100644
--- a/bin/hoedown.c
+++ b/bin/hoedown.c
@@ -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;
}