]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - zone.c
get rid of clang warnings for SETPVSBIT/CLEARPVSBIT
[xonotic/darkplaces.git] / zone.c
diff --git a/zone.c b/zone.c
index 43774da6468fbaaeeec60ec8993944a245772ed7..7c601cf0918986fd3aec2590ea740b5ee9813d79 100644 (file)
--- a/zone.c
+++ b/zone.c
@@ -860,7 +860,7 @@ void Memory_Init (void)
 {
        static union {unsigned short s;unsigned char b[2];} u;
        u.s = 0x100;
-       mem_bigendian = u.b[0];
+       mem_bigendian = u.b[0] != 0;
 
        sentinel_seed = rand();
        poolchain = NULL;