forked from qt-creator/qt-creator
C++: Fix compilation of plain-cplusplus test on OSX.
Change-Id: I5a84a2f3d8157289eba60977a3c9d112e72e679a Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
2
src/libs/3rdparty/cplusplus/Literals.cpp
vendored
2
src/libs/3rdparty/cplusplus/Literals.cpp
vendored
@@ -83,7 +83,7 @@ unsigned Literal::hashCode(const char *chars, unsigned size)
|
||||
"a", "aa", "aaa", "aaaa", ...
|
||||
*/
|
||||
|
||||
uint h = 0;
|
||||
unsigned h = 0;
|
||||
|
||||
while (size--) {
|
||||
h = (h << 4) + *chars++;
|
||||
|
Reference in New Issue
Block a user