Merge pull request #274 from pepevel/master

Support for 64 bit pointers on Windows
This commit is contained in:
Eric Haszlakiewicz
2016-09-28 08:05:50 -04:00
committed by GitHub

View File

@@ -340,8 +340,8 @@ static inline unsigned long lh_get_hash(const struct lh_table *t, const void *k)
/* Don't use this outside of linkhash.h: */
#ifdef __UNCONST
#define _LH_UNCONST(a) __UNCONST(a)
#else
#define _LH_UNCONST(a) ((void *)(unsigned long)(const void *)(a))
#else
#define _LH_UNCONST(a) ((void *)(uintptr_t)(const void *)(a))
#endif
/**