diff options
Diffstat (limited to 'src/randpool.cpp')
-rw-r--r-- | src/randpool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/randpool.cpp b/src/randpool.cpp index ed60b385a..f51660160 100644 --- a/src/randpool.cpp +++ b/src/randpool.cpp @@ -29,7 +29,7 @@ SecureVector<byte> randpool_prf(MessageAuthenticationCode* mac, RANDPOOL_PRF_TAG tag, const byte in[], u32bit length) { - mac->update((byte)tag); + mac->update(static_cast<byte>(tag)); mac->update(in, length); return mac->final(); } |