Fix a signed/unsigned comparison warning on 32-bit

This commit is contained in:
Nick Mathewson 2017-04-24 11:41:11 -04:00
parent b7567a6282
commit e55c1412c1

View File

@ -14,8 +14,8 @@ typedef enum consdiff_status_t {
} consdiff_status_t;
typedef struct consdiff_cfg_t {
uint32_t cache_max_age_hours;
uint32_t cache_max_num;
int32_t cache_max_age_hours;
int32_t cache_max_num;
} consdiff_cfg_t;
struct consensus_cache_entry_t; // from conscache.h