fixed possible non-sign-extension problem
This commit is contained in:
parent
24a8b613ae
commit
c5c6267b1d
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue