Changeset 33485
- Timestamp:
- 05/15/08 06:25:16 (6 months ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
wtf/unicode/qt4/UnicodeQt4.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r33475 r33485 1 2008-05-15 Simon Hausmann <shausman@trolltech.com> 2 3 Reviewed by Holger. 4 5 Fix compilation when compiling with MSVC and wchar_t support. 6 7 * wtf/unicode/qt4/UnicodeQt4.h: 8 (WTF::Unicode::foldCase): 9 (WTF::Unicode::umemcasecmp): 10 1 11 2008-05-14 Kevin McCullough <kmccullough@apple.com> 2 12 -
trunk/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h
r31899 r33485 304 304 } 305 305 for (int i = 0; i < srcLength; ++i) 306 result[i] = QChar::toCaseFolded( src[i]);306 result[i] = QChar::toCaseFolded(ushort(src[i])); 307 307 return srcLength; 308 308 } … … 376 376 // handle surrogates correctly 377 377 for (int i = 0; i < len; ++i) { 378 uint c1 = QChar::toCaseFolded( a[i]);379 uint c2 = QChar::toCaseFolded( b[i]);378 uint c1 = QChar::toCaseFolded(ushort(a[i])); 379 uint c2 = QChar::toCaseFolded(ushort(b[i])); 380 380 if (c1 != c2) 381 381 return c1 - c2;