summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qregexp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qregexp.cpp b/qtools/qregexp.cpp
index fcc8f11..d958f0a 100644
--- a/qtools/qregexp.cpp
+++ b/qtools/qregexp.cpp
@@ -372,7 +372,7 @@ static bool matchcharclass( uint *rxd, char c )
if ( clcode != CCL && clcode != CCN)
qWarning("QRegExp: Internal error, please report to qt-bugs@trolltech.com");
uint numFields = *d & MVL;
- uint cval = (uint)c; //(((uint)(c.row())) << 8) | ((uint)c.cell());
+ uint cval = (unsigned char)c; //(((uint)(c.row())) << 8) | ((uint)c.cell());
bool found = FALSE;
for ( int i = 0; i < (int)numFields; i++ ) {
d++;