diff options
author | Robin Burchell <robin+qt@viroteck.net> | 2012-03-02 15:05:59 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-02 16:07:47 +0100 |
commit | db5c28fa0e392a68836d9a97bb2add3a94ddb37c (patch) | |
tree | bbbf55884ea9103319790ac4b0b314bd1ec8349d /src/3rdparty | |
parent | ab05682564da139a7b0bca6817854abc58486d49 (diff) |
Use correct types in QResource.
qHash() returns uint, not int, so change all interactions with hashing to use
uint to match.
This blocks the introduction of a new (better) hashing algorithm because it
currently breaks numerous tests: rcc would (correctly) write a uint hash value
to the qrc files, but QResource would attempt to mangle it around as an int.
This wasn't a problem with the old hash, because it deliberately threw away
data (h &= 0x0fffffff), possibly because of someone not being able to
diagnose precisly this problem.
Change-Id: I46fb42acc100fdd3bedd714f6dc91aeca91d0351
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions