3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Fixed some visual studio warnings

This commit is contained in:
Clifford Wolf 2016-02-13 17:31:24 +01:00
parent 6f1d694171
commit bcc873b805
8 changed files with 10 additions and 10 deletions

View file

@ -74,7 +74,7 @@ template<> struct hash_ops<int32_t> : hash_int_ops
template<> struct hash_ops<int64_t> : hash_int_ops
{
static inline unsigned int hash(int64_t a) {
return mkhash(a, a >> 32);
return mkhash((unsigned int)(a), (unsigned int)(a >> 32));
}
};