diff options
author | George Kadianakis <desnacked@riseup.net> | 2020-02-06 16:28:21 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-02-11 02:13:40 +0200 |
commit | 901ed35709ac79e841b89d947a0d84526f4d8daf (patch) | |
tree | c17bb4c18f18367abe5a998a7db35a7b9f318ece /src/feature/hs/hs_circuit.c | |
parent | ba99287d13782048f58a88dc5d18780fad9f2034 (diff) | |
download | tor-901ed35709ac79e841b89d947a0d84526f4d8daf.tar.gz tor-901ed35709ac79e841b89d947a0d84526f4d8daf.zip |
Make n_subcredentials a size_t .
Based on David's review.
Diffstat (limited to 'src/feature/hs/hs_circuit.c')
-rw-r--r-- | src/feature/hs/hs_circuit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c index 97507df9f7..fdd226ba79 100644 --- a/src/feature/hs/hs_circuit.c +++ b/src/feature/hs/hs_circuit.c @@ -989,7 +989,7 @@ get_subcredential_for_handling_intro2_cell(const hs_service_t *service, } /* We are an onionbalance instance: */ - data->n_subcredentials = (int) service->n_ob_subcreds; + data->n_subcredentials = service->n_ob_subcreds; data->subcredentials = service->ob_subcreds; return 0; |