diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-19 17:48:36 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-20 08:27:07 -0400 |
commit | fa8bbb1368be0f3fd9cc4446aead3f4c2188a4ab (patch) | |
tree | 20ad6c47295b11373a2b927577eb2512477d2bc7 /src/compat | |
parent | 448bdff26307981b7e32ba5610dad6674c1fe46d (diff) |
net: Use C++11 member initialization in protocol
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/assumptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat/assumptions.h b/src/compat/assumptions.h index 6e7b4d3ded..4b0b224c69 100644 --- a/src/compat/assumptions.h +++ b/src/compat/assumptions.h @@ -50,6 +50,7 @@ static_assert(sizeof(double) == 8, "64-bit double assumed"); // code. static_assert(sizeof(short) == 2, "16-bit short assumed"); static_assert(sizeof(int) == 4, "32-bit int assumed"); +static_assert(sizeof(unsigned) == 4, "32-bit unsigned assumed"); // Assumption: We assume size_t to be 32-bit or 64-bit. // Example(s): size_t assumed to be at least 32-bit in ecdsa_signature_parse_der_lax(...). |