diff options
author | lloyd <[email protected]> | 2007-07-23 15:44:04 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-07-23 15:44:04 +0000 |
commit | e2f1f734277146d817ab284dea21e4013cb5b937 (patch) | |
tree | 21ad6ee775e36aa7fb24a504077200c22b1f15b8 /src/if_algo.cpp | |
parent | 211c4929ae92106794984d872a0cae1a873baa29 (diff) |
Avoid C-style casts (as detected by GCC's -Wold-style-cast) and instead use
static_cast or reinterpret_cast, as needed.
Diffstat (limited to 'src/if_algo.cpp')
-rw-r--r-- | src/if_algo.cpp | 2 |
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) |