aboutsummaryrefslogtreecommitdiffstats
path: root/src/if_algo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_algo.cpp')
-rw-r--r--src/if_algo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_algo.cpp b/src/if_algo.cpp
index 2a96163f7..204daed1d 100644
--- a/src/if_algo.cpp
+++ b/src/if_algo.cpp
@@ -90,7 +90,7 @@ PKCS8_Encoder* IF_Scheme_PrivateKey::pkcs8_encoder() const
{
return DER_Encoder()
.start_cons(SEQUENCE)
- .encode((u32bit)0)
+ .encode(static_cast<u32bit>(0))
.encode(key->n)
.encode(key->e)
.encode(key->d)