diff options
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r-- | qmake/generators/makefile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h index a96b9c54da..bae32883b4 100644 --- a/qmake/generators/makefile.h +++ b/qmake/generators/makefile.h @@ -306,13 +306,13 @@ struct ReplaceExtraCompilerCacheKey MakefileGenerator::ReplaceFor forShell; ReplaceExtraCompilerCacheKey(const QString &v, const QStringList &i, const QStringList &o, MakefileGenerator::ReplaceFor s); bool operator==(const ReplaceExtraCompilerCacheKey &f) const; - inline uint hashCode() const { + inline size_t hashCode() const { if (!hash) - hash = (uint)forShell ^ qHash(var) ^ qHash(in) ^ qHash(out) /*^ qHash(pwd)*/; + hash = (size_t)forShell ^ qHash(var) ^ qHash(in) ^ qHash(out) /*^ qHash(pwd)*/; return hash; } }; -inline uint qHash(const ReplaceExtraCompilerCacheKey &f) { return f.hashCode(); } +inline size_t qHash(const ReplaceExtraCompilerCacheKey &f) { return f.hashCode(); } QT_END_NAMESPACE |