diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-02-25 14:01:55 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-02-25 14:01:55 +0200 |
commit | 18de065cbbcd9863842fc7f773033f295a0000dc (patch) | |
tree | b9bfe4cdb1f7f2f63f15fc7b775bfe93ed95ab89 /src/core/or/circuitpadding.h | |
parent | 71c11d7306dbbcb81c780a7a786429e2d8eaa669 (diff) | |
download | tor-18de065cbbcd9863842fc7f773033f295a0000dc.tar.gz tor-18de065cbbcd9863842fc7f773033f295a0000dc.zip |
Switch an int32_t bin to a circpad_hist_index_t.
Diffstat (limited to 'src/core/or/circuitpadding.h')
-rw-r--r-- | src/core/or/circuitpadding.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/or/circuitpadding.h b/src/core/or/circuitpadding.h index ca19e31ca5..74f9f35c98 100644 --- a/src/core/or/circuitpadding.h +++ b/src/core/or/circuitpadding.h @@ -235,6 +235,9 @@ typedef uint16_t circpad_statenum_t; * * Memory concerns are not so great here since the corresponding histogram and * histogram_edges arrays are global and not per-circuit. + * + * If we ever upgrade this to a value that can't be represented by 8-bits we + * also need to upgrade circpad_hist_index_t. */ #define CIRCPAD_MAX_HISTOGRAM_LEN (100) |