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

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

#
#
# patch "src/asn1_str.cpp"
#  from [3af21b9efa1dc13316d8b6e3aaafb6f20d2ed8a5]
#    to [4b98135647c802b5a3338638221ebbd04661cf50]
#
============================================================
--- src/asn1_str.cpp	3af21b9efa1dc13316d8b6e3aaafb6f20d2ed8a5
+++ src/asn1_str.cpp	4b98135647c802b5a3338638221ebbd04661cf50
@@ -1,6 +1,6 @@
 /*************************************************
 * Simple ASN.1 String Types Source File          *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #include <botan/asn1_obj.h>
@@ -44,7 +44,7 @@ ASN1_Tag choose_encoding(const std::stri
       0x00, 0x00, 0x00, 0x00 };

    for(u32bit j = 0; j != str.size(); ++j)
-      if(!IS_PRINTABLE[(byte)str[j]])
+      if(!IS_PRINTABLE[static_cast<byte>(str[j])])
          {
          const std::string type = global_config().option("x509/ca/str_type");