From a0183c9c422b4d5b601e50f5a1ecc7ee4fdc4192 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 28 Aug 2016 21:26:48 +0000 Subject: [PATCH] Fix warning: left shift of negative value [-Wshift-negative-value] DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5841 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/voxmodel.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/polymer/eduke32/build/src/voxmodel.c b/polymer/eduke32/build/src/voxmodel.c index ee779f19a..59648e194 100644 --- a/polymer/eduke32/build/src/voxmodel.c +++ b/polymer/eduke32/build/src/voxmodel.c @@ -114,19 +114,21 @@ static void putvox(int32_t x, int32_t y, int32_t z, int32_t col) #if 0 static void setzrange0(int32_t *lptr, int32_t z0, int32_t z1) { - if (!((z0^z1)&~31)) { lptr[z0>>5] &= ((~(-1<>5] &= ((~-(1<>5), ze = (z1>>5); - lptr[z] &=~(-1<>5] |= ((~(-1<>5] |= ((~-(1<>5), ze = (z1>>5); - lptr[z] |= (-1<