aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/ber_dec.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-03-22 14:03:33 -0400
committerJack Lloyd <[email protected]>2017-03-22 14:03:33 -0400
commit9474d89970157f7a6c6bdc5044025170a90f27b2 (patch)
tree4cb26010af18abb7e485f9585c5572281d3c4971 /src/lib/asn1/ber_dec.h
parentcf02ab0b5f60296e44d5e957278b27a7333fae23 (diff)
Fix some compiler warnings.
Diffstat (limited to 'src/lib/asn1/ber_dec.h')
-rw-r--r--src/lib/asn1/ber_dec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asn1/ber_dec.h b/src/lib/asn1/ber_dec.h
index 4a5aa88fc..6320ab9fc 100644
--- a/src/lib/asn1/ber_dec.h
+++ b/src/lib/asn1/ber_dec.h
@@ -61,7 +61,7 @@ class BOTAN_DLL BER_Decoder
"; Output type size is " +
std::to_string(sizeof(T)));
- copy_mem((uint8_t *)&out, obj.value.data(), obj.value.size());
+ copy_mem(reinterpret_cast<uint8_t*>(&out), obj.value.data(), obj.value.size());
return (*this);
}