diff --git a/appveyor.yml b/appveyor.yml index 85cee6a31..e0ee99c61 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 2.1.14.{branch}-{build} +version: 2.1.16.{branch}-{build} os: MinGW environment: diff --git a/src/lzf.c b/src/lzf.c index 33a1b2dcd..272174f30 100644 --- a/src/lzf.c +++ b/src/lzf.c @@ -59,7 +59,11 @@ * Unconditionally aligning does not cost very much, so do it if unsure */ #ifndef STRICT_ALIGN -# define STRICT_ALIGN !(defined(__i386) || defined (__amd64)) || defined (__clang__) +#if !(defined(__i386) || defined (__amd64)) || defined (__clang__) +#define STRICT_ALIGN 1 +#else +#define STRICT_ALIGN 0 +#endif #endif /* diff --git a/src/r_data.h b/src/r_data.h index 4a37f82c3..69a2882af 100644 --- a/src/r_data.h +++ b/src/r_data.h @@ -30,7 +30,7 @@ typedef struct { // Block origin (always UL), which has already accounted for the internal origin of the patch. INT16 originx, originy; - INT16 wad, lump; + UINT16 wad, lump; } texpatch_t; // A maptexturedef_t describes a rectangular texture,