goto partial;
}
- algn_diff = (0 - (unsigned long)src) & 0xF;
+ algn_diff = (0 - (uintptr_t)src) & 0xF;
if (algn_diff) {
xmm_crc_part = _mm_loadu_si128((__m128i *)src);
_mm_storeu_si128((__m128i *)dst, xmm_crc_part);
local inline long compare258(const unsigned char *const src0,
const unsigned char *const src1)
{
- long ax, dx, cx;
+ uintptr_t ax, dx, cx;
__m128i xmm_src0;
ax = 16;
"crc32l (%[window], %[str], 1), %0\n\t"
: "+r" (h)
: [window] "r" (s->window),
- [str] "r" ((long)str)
+ [str] "r" ((uintptr_t)str)
);
ret = s->head[h & s->hash_mask];
SHAREDLIBV=''
SHAREDTARGET=$SHAREDLIB
IMPORTLIB='libz.dll.a'
- LDSHARED=${LDSHARED-"$cc -shared -Wl,--out-implib,${IMPORTLIB},--version-script,${SRCDIR}/zlib.map"}
+ LDSHARED=${LDSHARED-"$cc -shared -Wl,--out-implib=${IMPORTLIB} -Wl,--version-script=${SRCDIR}/zlib.map"}
LDSHAREDLIBC=""
DEFFILE='win32/zlib.def'
RC='windres'