Browse Source

Merge pull request #274 from pepevel/master

Support for 64 bit pointers on Windows
tags/json-c-0.13-20171207
Eric Haszlakiewicz GitHub 9 years ago
parent
commit
5653bc61a4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linkhash.h

+ 2
- 2
linkhash.h 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

/**


Loading…
Cancel
Save