mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-31 06:51:04 +00:00
Revert "Fix type punning warnings"
it's a gcc version issue...
This reverts commit 3e6d173e31
.
This commit is contained in:
parent
3e6d173e31
commit
7b56ad9405
1 changed files with 1 additions and 1 deletions
2
gmqcc.h
2
gmqcc.h
|
@ -242,7 +242,7 @@ uint32_t util_crc32(uint32_t crc, const char *data, size_t len);
|
|||
#define INT2FLT(Y) *((float *)&(Y))
|
||||
|
||||
/* New flexible vector implementation from Dale */
|
||||
#define _vec_raw(A) (*((size_t**)((void*)(&(A))))-2)
|
||||
#define _vec_raw(A) (((size_t*)(void*)(A)) - 2)
|
||||
#define _vec_beg(A) (_vec_raw(A)[0])
|
||||
#define _vec_end(A) (_vec_raw(A)[1])
|
||||
#define _vec_needsgrow(A,N) ((!(A)) || (_vec_end(A) + (N) >= _vec_beg(A)))
|
||||
|
|
Loading…
Reference in a new issue