fixed possible non-sign-extension problem

This commit is contained in:
ceriel 1990-12-06 11:34:50 +00:00
parent 24a8b613ae
commit c5c6267b1d

View file

@ -20,7 +20,7 @@
#define BRKSIZE 4096
#endif
#define PTRSIZE sizeof(char *)
#define Align(x,a) (((x) + (a - 1)) & ~(a - 1))
#define Align(x,a) (((x) + (a - 1)) & ~(ptrint)(a - 1))
#define NextSlot(p) (* (char **) ((p) - PTRSIZE))
#define NextFree(p) (* (char **) (p))