aboutsummaryrefslogtreecommitdiff
path: root/src/or/shared_random_state.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-05-26 12:25:01 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-07-01 14:01:42 -0400
commite62f3133bb0404b3c70dd59f37b2706bf75eb800 (patch)
tree27343f8702516877c6f3c6b5a166cbf937ba5dcb /src/or/shared_random_state.h
parent899d2b890b35b9772f33054b9ff627dd8186deac (diff)
downloadtor-e62f3133bb0404b3c70dd59f37b2706bf75eb800.tar.gz
tor-e62f3133bb0404b3c70dd59f37b2706bf75eb800.zip
prop250: Change reveal_num to uint64_t and version to uint32_t
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/shared_random_state.h')
-rw-r--r--src/or/shared_random_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/shared_random_state.h b/src/or/shared_random_state.h
index d013650aa2..305797f0ff 100644
--- a/src/or/shared_random_state.h
+++ b/src/or/shared_random_state.h
@@ -36,7 +36,7 @@ typedef struct sr_state_t {
/* Filename of the state file on disk. */
char *fname;
/* Version of the protocol. */
- uint8_t version;
+ uint32_t version;
/* The valid-after of the voting period we have prepared the state for. */
time_t valid_after;
/* Until when is this state valid? */
@@ -76,7 +76,7 @@ typedef struct sr_state_t {
typedef struct sr_disk_state_t {
uint32_t magic_;
/* Version of the protocol. */
- int Version;
+ uint32_t Version;
/* Version of our running tor. */
char *TorVersion;
/* Creation time of this state */