*Again* fix fit16i() for systems with 64-bit long.

I already did this in abebf1586c06, but I edited the wrong file.  Then
in edddc6b7cd17, I deleted that file.

By fixing fit16i(), I can now compile ACK for OpenBSD/amd64.
This commit is contained in:
George Koehler 2012-09-19 23:39:51 -04:00
parent 8bf34937f1
commit be234ea759

View file

@ -353,7 +353,7 @@ C_magic()
} }
/*** the compact code generating routines ***/ /*** the compact code generating routines ***/
#define fit16i(x) ((x) >= (long)0xFFFF8000 && (x) <= (long)0x00007FFF) #define fit16i(x) ((x) >= (long)(-0x8000) && (x) <= (long)0x7FFF)
#define fit8u(x) ((x) <= 0xFF) /* x is already unsigned */ #define fit8u(x) ((x) <= 0xFF) /* x is already unsigned */
void void