mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Change ARRAY_SSIZE macro to return type native_t
git-svn-id: https://svn.eduke32.com/eduke32@6535 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a18d03635c
commit
6231c0bdf5
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ struct bad_arg_to_ARRAY_SIZE
|
|||
#else
|
||||
# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
#endif
|
||||
#define ARRAY_SSIZE(arr) (signed)ARRAY_SIZE(arr)
|
||||
#define ARRAY_SSIZE(arr) (native_t)ARRAY_SIZE(arr)
|
||||
|
||||
|
||||
////////// Memory management //////////
|
||||
|
|
Loading…
Reference in a new issue