aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_cell.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-02-06 16:28:21 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2020-02-11 02:13:40 +0200
commit901ed35709ac79e841b89d947a0d84526f4d8daf (patch)
treec17bb4c18f18367abe5a998a7db35a7b9f318ece /src/feature/hs/hs_cell.h
parentba99287d13782048f58a88dc5d18780fad9f2034 (diff)
downloadtor-901ed35709ac79e841b89d947a0d84526f4d8daf.tar.gz
tor-901ed35709ac79e841b89d947a0d84526f4d8daf.zip
Make n_subcredentials a size_t .
Based on David's review.
Diffstat (limited to 'src/feature/hs/hs_cell.h')
-rw-r--r--src/feature/hs/hs_cell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_cell.h b/src/feature/hs/hs_cell.h
index cc2e7b5817..2b28c44c50 100644
--- a/src/feature/hs/hs_cell.h
+++ b/src/feature/hs/hs_cell.h
@@ -60,7 +60,7 @@ typedef struct hs_cell_introduce2_data_t {
/**
* Length of the subcredentials array below.
**/
- int n_subcredentials;
+ size_t n_subcredentials;
/** Array of <b>n_subcredentials</b> subcredentials for the service. Pointer
* owned by the descriptor that owns the introduction point through which we
* received the INTRO2 cell. */