diff --git a/src/or/shared_random_state.h b/src/or/shared_random_state.h
index a154eb56363afea67f9cc4e5b577cbe70b9bc2f5..b6af6e1721ff948c04a9e9f962ac8f6b1560e37b 100644
--- a/src/or/shared_random_state.h
+++ b/src/or/shared_random_state.h
@@ -77,7 +77,7 @@ typedef struct sr_state_t {
 typedef struct sr_disk_state_t {
   uint32_t magic_;
   /* Version of the protocol. */
-  uint32_t Version;
+  int Version;
   /* Version of our running tor. */
   char *TorVersion;
   /* Creation time of this state */