public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b79636
)
some compilers (Multimax) did not understand the sizeof constructions used
author
ceriel
<none@none>
Wed, 9 Mar 1988 11:42:54 +0000
(11:42 +0000)
committer
ceriel
<none@none>
Wed, 9 Mar 1988 11:42:54 +0000
(11:42 +0000)
util/ass/ass00.c
patch
|
blob
|
history
diff --git
a/util/ass/ass00.c
b/util/ass/ass00.c
index
7fdd3b1
..
a184d6c
100644
(file)
--- a/
util/ass/ass00.c
+++ b/
util/ass/ass00.c
@@
-317,9
+317,9
@@
initproc() {
pstate.s_fline= lnp_cast 0 ;
pstate.s_fdata= l_data ;
pstate.s_locl = (locl_t (*)[])
- getarea(LOCLABSIZE * sizeof (
*(pstate.s_locl))[0]
);
+ getarea(LOCLABSIZE * sizeof (
(*(pstate.s_locl))[0])
);
zero(chp_cast pstate.s_locl,
- LOCLABSIZE * (unsigned) sizeof (
*(pstate.s_locl))[0]
);
+ LOCLABSIZE * (unsigned) sizeof (
(*(pstate.s_locl))[0])
);
if ( memflg>2 ) memuse() ;
}