diff options
author | Xavier Mendez <me@jmendeth.com> | 2015-08-31 15:45:48 +0200 |
---|---|---|
committer | Xavier Mendez <me@jmendeth.com> | 2015-08-31 15:45:48 +0200 |
commit | cde8f3f45269bcc2fcd11d0badbdbe624e21aa0b (patch) | |
tree | 4a9a48e40055ad98ce7b2b64df3c5b3a51c236a4 | |
parent | 8ff3d82f2dde2cead36402a59c62d3e266c2f6ec (diff) | |
download | rust-hoedown-cde8f3f45269bcc2fcd11d0badbdbe624e21aa0b.tar.gz |
Fix warnings on #167
-rw-r--r-- | bin/hoedown.c | 2 |
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; } |