The unified diff between revisions [92f17752..] and [13704fef..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/ber_dec.cpp'

#
#
# patch "src/ber_dec.cpp"
#  from [1cdc3a17677f2513359b08f1e8bbfcd90daba133]
#    to [08fff81b2d7e419b3104a04c9d38311ba03c0488]
#
============================================================
--- src/ber_dec.cpp	1cdc3a17677f2513359b08f1e8bbfcd90daba133
+++ src/ber_dec.cpp	08fff81b2d7e419b3104a04c9d38311ba03c0488
@@ -1,11 +1,11 @@
 /*************************************************
 * BER Decoder Source File                        *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #include <botan/ber_dec.h>
 #include <botan/bigint.h>
-#include <botan/bit_ops.h>
+#include <botan/loadstor.h>

 namespace Botan {

@@ -453,7 +453,7 @@ BER_Decoder& BER_Decoder::decode_optiona
    {
    BER_Object obj = get_next_object();

-   ASN1_Tag type_tag = (ASN1_Tag)type_no;
+   ASN1_Tag type_tag = static_cast<ASN1_Tag>(type_no);

    out.clear();
    push_back(obj);