aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/pubkey_enums.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/pubkey_enums.cpp')
-rw-r--r--src/pubkey/pubkey_enums.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubkey/pubkey_enums.cpp b/src/pubkey/pubkey_enums.cpp
index 327107dd1..90d835814 100644
--- a/src/pubkey/pubkey_enums.cpp
+++ b/src/pubkey/pubkey_enums.cpp
@@ -31,7 +31,7 @@ void decode(BER_Decoder& source, Key_Constraints& key_usage)
obj.value[obj.value.size()-1] &= mask;
u16bit usage = 0;
- for(u32bit j = 1; j != obj.value.size(); ++j)
+ for(size_t j = 1; j != obj.value.size(); ++j)
usage = (obj.value[j] << 8) | usage;
key_usage = Key_Constraints(usage);