mirror of
https://github.com/json-c/json-c.git
synced 2026-04-09 07:19:06 +08:00
Support for 64 bit pointers on Windows
This commit is contained in:
@@ -341,7 +341,7 @@ static inline unsigned long lh_get_hash(const struct lh_table *t, const void *k)
|
|||||||
#ifdef __UNCONST
|
#ifdef __UNCONST
|
||||||
#define _LH_UNCONST(a) __UNCONST(a)
|
#define _LH_UNCONST(a) __UNCONST(a)
|
||||||
#else
|
#else
|
||||||
#define _LH_UNCONST(a) ((void *)(unsigned long)(const void *)(a))
|
#define _LH_UNCONST(a) ((void *)(uintptr_t)(const void *)(a))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user