diff options
Diffstat (limited to 'x11-wm/jewel/files/patch-goodies-appbar_scanner.cc')
-rw-r--r-- | x11-wm/jewel/files/patch-goodies-appbar_scanner.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-wm/jewel/files/patch-goodies-appbar_scanner.cc b/x11-wm/jewel/files/patch-goodies-appbar_scanner.cc new file mode 100644 index 000000000000..2f8c3e82336f --- /dev/null +++ b/x11-wm/jewel/files/patch-goodies-appbar_scanner.cc @@ -0,0 +1,29 @@ +--- goodies/appbar/scanner.cc.orig 2007-12-06 20:49:35.000000000 +0100 ++++ goodies/appbar/scanner.cc 2007-12-06 20:50:28.000000000 +0100 +@@ -156,7 +156,7 @@ + { + s_token.empty(); + +- while(char_class[character]==type) ++ while(char_class[(int) character]==type) + { + s_token += character; + +@@ -177,7 +177,7 @@ + if (!spaces) { + char_class[' ']=whitespace; + +- while(char_class[character]==whitespace) ++ while(char_class[(int)character]==whitespace) + { + if( inputFile.eof() ) return; + +@@ -192,7 +192,7 @@ + } + } + +- if (! inputFile.eof() ) { concat( char_class[character] ); } ++ if (! inputFile.eof() ) { concat( char_class[(int)character] ); } + } + + bool Scanner::match( std::string m ) |