Remove compiler warnings

This commit is contained in:
Monty 2017-12-02 21:50:08 +02:00
commit 60df17e95a
6 changed files with 9 additions and 8 deletions

View file

@ -50,7 +50,7 @@ namespace mrn {
if (pool_) {
ctx = static_cast<grn_ctx *>(pool_->data);
list_pop(pool_);
if ((now - last_pull_time_) >= CLEAR_THREATHOLD_IN_SECONDS) {
if ((uint) (now - last_pull_time_) >= CLEAR_THREATHOLD_IN_SECONDS) {
clear();
}
}