summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/core/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/hash.h b/source/core/hash.h
index 8ee5b088f..26450029d 100644
--- a/source/core/hash.h
+++ b/source/core/hash.h
@@ -57,7 +57,7 @@ namespace Slang
template<typename TKey>
static int GetHashCode(TKey & key)
{
- return key.GetHashCode();
+ return int(key.GetHashCode());
}
};
template<int IsPointer>