From: Dale Weiler Date: Sun, 14 Apr 2013 01:03:22 +0000 (+0000) Subject: Revert that trans stuff X-Git-Tag: before-library~72 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=3f546df67723e2ff4c7132a80af99cba8f134408;ds=sidebyside Revert that trans stuff --- diff --git a/Makefile b/Makefile index b3d1bc3..c72b237 100644 --- a/Makefile +++ b/Makefile @@ -160,6 +160,7 @@ SPLINTFLAGS = \ -realcompare \ -observertrans \ -shiftnegative \ + -freshtrans \ -abstract \ -statictrans \ -castfcnptr 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;