diff --git a/sinfl.h b/sinfl.h index 8979fcd..3b61e05 100644 --- a/sinfl.h +++ b/sinfl.h @@ -169,7 +169,7 @@ extern int zsinflate(void *out, int cap, const void *in, int size); #endif static int -sinfl_bsr(unsigned n) { +sinfl_bsr(unsigned long n) { #ifdef _MSC_VER _BitScanReverse(&n, n); return n;