tags 379620 +patch
thanks

Hello,

with the attached patch 'bobcat' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/bobcat-1.10.0/string/unescape.cc ./string/unescape.cc
--- ../tmp-orig/bobcat-1.10.0/string/unescape.cc        2005-12-18 
21:16:55.000000000 +0000
+++ ./string/unescape.cc        2006-07-25 06:35:14.000000000 +0000
@@ -7,7 +7,7 @@
 
     unsigned handleOctal(String *dest, String const &src, unsigned pos)
     {
-        unsigned const nOct = 3;                // need exactly 3 octals
+        size_t const nOct = 3;                  // need exactly 3 octals
 
         unsigned pos2 = min(pos + nOct, 
                             src.find_first_not_of("01234567", pos));
@@ -28,7 +28,7 @@
 
     unsigned handleHex(String *dest, String const &src, unsigned pos)
     {
-        unsigned const nHex = 2;                // need exactly 2 hex digits
+        size_t const nHex = 2;                  // need exactly 2 hex digits
 
         ++pos;                                  // skip the 'x'
         unsigned pos2 = min(pos + nHex, 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to