commit e55c1412c1d59fc05cef4e5d63f4bbbe57530ae7 Author: Nick Mathewson nickm@torproject.org Date: Mon Apr 24 11:41:11 2017 -0400
Fix a signed/unsigned comparison warning on 32-bit --- src/or/consdiffmgr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/or/consdiffmgr.h b/src/or/consdiffmgr.h index b6b7555..6932b2f 100644 --- a/src/or/consdiffmgr.h +++ b/src/or/consdiffmgr.h @@ -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