Shut up gcc4 warnings.

This commit is contained in:
Nicholas Marriott
2010-06-05 16:32:22 +00:00
parent 36c0871c23
commit 0440d325d9
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
} \
} while (0)
#define ARRAY_EMPTY(a) ((a) == NULL || (a)->num == 0)
#define ARRAY_EMPTY(a) (((void *) (a)) == NULL || (a)->num == 0)
#define ARRAY_LENGTH(a) ((a)->num)
#define ARRAY_DATA(a) ((a)->list)