https://bugs.webkit.org/show_bug.cgi?id=80790
Reviewed by Antonio Gomes.
Fix signed/unsigned comparison warning.
* parser/Lexer.cpp:
(JSC::::record16):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114153
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-13 Rob Buis <rbuis@rim.com>
+
+ Fix some compiler warnings (miscellaneous)
+ https://bugs.webkit.org/show_bug.cgi?id=80790
+
+ Reviewed by Antonio Gomes.
+
+ Fix signed/unsigned comparison warning.
+
+ * parser/Lexer.cpp:
+ (JSC::::record16):
+
2012-04-12 Benjamin Poulain <bpoulain@apple.com>
Improve replaceUsingStringSearch() for case of a single character searchValue
inline void Lexer<T>::record16(int c)
{
ASSERT(c >= 0);
- ASSERT(c <= USHRT_MAX);
+ ASSERT(c <= static_cast<int>(USHRT_MAX));
m_buffer16.append(static_cast<UChar>(c));
}