public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a8b61
)
fixed possible non-sign-extension problem
author
ceriel
<none@none>
Thu, 6 Dec 1990 11:34:50 +0000
(11:34 +0000)
committer
ceriel
<none@none>
Thu, 6 Dec 1990 11:34:50 +0000
(11:34 +0000)
lang/cem/libcc/gen/malloc.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/gen/malloc.c
b/lang/cem/libcc/gen/malloc.c
index
0520ab7
..
e7d2d8d
100644
(file)
--- a/
lang/cem/libcc/gen/malloc.c
+++ b/
lang/cem/libcc/gen/malloc.c
@@
-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))