From cde8f3f45269bcc2fcd11d0badbdbe624e21aa0b Mon Sep 17 00:00:00 2001 From: Xavier Mendez Date: Mon, 31 Aug 2015 15:45:48 +0200 Subject: [PATCH] Fix warnings on #167 --- bin/hoedown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hoedown.c b/bin/hoedown.c index c0e52795..175471a3 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; }