Fix compile warning with android NDK

This commit is contained in:
Tatsuhiro Tsujikawa 2015-06-12 19:19:53 +09:00
parent b5717cd288
commit c6c7145167
1 changed files with 1 additions and 1 deletions

View File

@ -1095,7 +1095,7 @@ void prepare_response(Stream *stream, Http2Handler *hd,
return; return;
} }
if (last_mod_found && buf.st_mtime <= last_mod) { if (last_mod_found && static_cast<time_t>(buf.st_mtime) <= last_mod) {
close(file); close(file);
prepare_status_response(stream, hd, 304); prepare_status_response(stream, hd, 304);