Commit eba2781ab98282714c19df4c758a140dc0cc33ad

suzuki toshiya 2011-11-30T22:40:43

[apinames] Fix the overflow of signed integer hash. * src/tools/apinames.c (names_add): Change the type of `h' from int to unsigned int, to prevent undefined behaviour in the overflow of signed integers (overflow of unsigned int is defined to be wrap around). Found by clang test suggested by Sean McBride.