diff options
author | Thomas Zander <t.zander@nokia.com> | 2010-02-08 14:35:08 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2010-02-08 15:43:23 (GMT) |
commit | de5ce297da04d1246711d28095d6cd1f52cfc97b (patch) | |
tree | ee865127e79bcc37d9f8e1c09f24519568b2fb32 | |
parent | 393ce9aca99751fe64496467b135e187e8433ab2 (diff) | |
download | Qt-de5ce297da04d1246711d28095d6cd1f52cfc97b.zip Qt-de5ce297da04d1246711d28095d6cd1f52cfc97b.tar.gz Qt-de5ce297da04d1246711d28095d6cd1f52cfc97b.tar.bz2 |
Make generate uid3 (symbian) work on 64 bit host platform.
On a 64 bit system the old code used to make; UID "0xEffffffff9d8cb14". Which
doesn't get accepted by the symbian tool chain ;) The patch makes this normal
size hex uid3 again.
Reviewed-by: Miikka Heikkinen
-rw-r--r-- | qmake/generators/symbian/initprojectdeploy_symbian.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/symbian/initprojectdeploy_symbian.cpp b/qmake/generators/symbian/initprojectdeploy_symbian.cpp index f3e3c3a..5fbff58 100644 --- a/qmake/generators/symbian/initprojectdeploy_symbian.cpp +++ b/qmake/generators/symbian/initprojectdeploy_symbian.cpp @@ -207,7 +207,7 @@ QString generate_uid(const QString& target) return tmp; } - unsigned long hash = 5381; + quint32 hash = 5381; int c; for (int i = 0; i < target.size(); ++i) { |