X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=inline;f=code.c;h=5728a8db425f7b724a44717ba8510b400654637e;hb=3f546df67723e2ff4c7132a80af99cba8f134408;hp=10266935694529310c2cb1777d62412214059d92;hpb=48d6375817d3834e934bec6849cdd08daaa3c9b2;p=xonotic%2Fgmqcc.git diff --git a/code.c b/code.c index 1026693..5728a8d 100644 --- a/code.c +++ b/code.c @@ -36,7 +36,7 @@ uint32_t code_entfields; /* This is outrageous! */ #define QCINT_ENTRY void* #define QCINT_TO_HASH_ENTRY(q) ((void*)(uintptr_t)(q)) -#define HASH_ENTRY_TO_QCINT(h) /*@only@*/ ((qcint) *((uintptr_t*)(&(h))) ) +#define HASH_ENTRY_TO_QCINT(h) ((qcint)(uintptr_t)(h)) static ht code_string_cache; static qcint code_string_cached_empty;