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

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

#
#
# patch "src/big_io.cpp"
#  from [69a6680403cf935f3cff67a9a0fd9709d7dc77dc]
#    to [4f0d764838269e09272c9929576dad418c557288]
#
============================================================
--- src/big_io.cpp	69a6680403cf935f3cff67a9a0fd9709d7dc77dc
+++ src/big_io.cpp	4f0d764838269e09272c9929576dad418c557288
@@ -1,6 +1,6 @@
 /*************************************************
 * BigInt Input/Output Source File                *
-* (C) 1999-2006 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #include <botan/bigint.h>
@@ -29,7 +29,8 @@ std::ostream& operator<<(std::ostream& s
       u32bit skip = 0;
       while(buffer[skip] == '0' && skip < buffer.size())
          ++skip;
-      stream.write((const char*)buffer.begin() + skip, buffer.size() - skip);
+      stream.write(reinterpret_cast<const char*>(buffer.begin()) + skip,
+                   buffer.size() - skip);
       }
    if(!stream.good())
       throw Stream_IO_Error("BigInt output operator has failed");