Fix compile warning with android NDK
This commit is contained in:
parent
b5717cd288
commit
c6c7145167
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue