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
|
#define BRKSIZE 4096
|
||||||
#endif
|
#endif
|
||||||
#define PTRSIZE sizeof(char *)
|
#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 NextSlot(p) (* (char **) ((p) - PTRSIZE))
|
||||||
#define NextFree(p) (* (char **) (p))
|
#define NextFree(p) (* (char **) (p))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue