Closed GoogleCodeExporter closed 9 years ago
I didn't see any hash functions defined in ANGLE, so it seems unlikely that the
definition could be changed within ANGLE.
The most obvious fix is to use a static_cast which would reduce the size of the
input string used in the hash function to a maximum of 4,294,967,295 characters:
khronos_uint64_t number = (*hashFunction)(name.c_str(), static_cast<unsigned int>(name.length()));
Original comment by ddkilzer@gmail.com
on 27 Jan 2013 at 1:17
Original comment by kbr@chromium.org
on 7 Feb 2013 at 1:13
Original comment by kbr@chromium.org
on 7 Feb 2013 at 1:30
Fixed in https://code.google.com/p/angleproject/source/detail?r=1826 .
Original comment by kbr@chromium.org
on 12 Feb 2013 at 3:10
Original issue reported on code.google.com by
ddkilzer@gmail.com
on 27 Jan 2013 at 1:03