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:
Christian Kamm
2011-11-29 10:51:56 +01:00
parent d02b647bbf
commit ae494b6e41

View File

@@ -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++;