aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/x942_prf
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-02-09 15:15:25 +0000
committerlloyd <[email protected]>2011-02-09 15:15:25 +0000
commit5aafb813ed7b3824bc71b2aea22f4268f06ca75e (patch)
treebe94df14b329f746e8653090bc40c1980dc765b5 /src/kdf/x942_prf
parent75eff6cba7ac959f0d3b5292aa5ca7e321bf2e0d (diff)
More VC warning fixes
Diffstat (limited to 'src/kdf/x942_prf')
-rw-r--r--src/kdf/x942_prf/prf_x942.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf/x942_prf/prf_x942.cpp b/src/kdf/x942_prf/prf_x942.cpp
index 966d883b6..fc31effe4 100644
--- a/src/kdf/x942_prf/prf_x942.cpp
+++ b/src/kdf/x942_prf/prf_x942.cpp
@@ -62,7 +62,7 @@ SecureVector<byte> X942_PRF::derive(size_t key_len,
)
.start_explicit(2)
- .raw_bytes(encode_x942_int(8 * key_len))
+ .raw_bytes(encode_x942_int(static_cast<u32bit>(8 * key_len)))
.end_explicit()
.end_cons().get_contents()