summaryrefslogtreecommitdiff
path: root/src/or/consdiffmgr.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-24 11:41:11 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-24 11:41:11 -0400
commite55c1412c1d59fc05cef4e5d63f4bbbe57530ae7 (patch)
tree9c55a55952b1360ec745d815b75ed8cedcca0073 /src/or/consdiffmgr.h
parentb7567a6282e0bca38f4412ce0d571445a0ceda50 (diff)
downloadtor-e55c1412c1d59fc05cef4e5d63f4bbbe57530ae7.tar.gz
tor-e55c1412c1d59fc05cef4e5d63f4bbbe57530ae7.zip
Fix a signed/unsigned comparison warning on 32-bit
Diffstat (limited to 'src/or/consdiffmgr.h')
-rw-r--r--src/or/consdiffmgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/consdiffmgr.h b/src/or/consdiffmgr.h
index b6b7555ad9..6932b2fba3 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