pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-04-27
2014-04-27 20:37:42 by Martin Nilsson <nilsson@opera.com>
dc8d02fd4ecce2757f0fa8f4ee5418035abd5a99 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
mallocs nowdays return void*, so no need to case.
2086:
current_switch.less_label=-1; current_switch.greater_label=-1; current_switch.default_label=-1;
-
current_switch.jumptable=
(INT32 *)
xalloc(sizeof(INT32)*(cases*2+2));
-
jumptable=
(INT32 *)
xalloc(sizeof(INT32)*(cases*2+2));
+
current_switch.jumptable=xalloc(sizeof(INT32)*(cases*2+2));
+
jumptable=xalloc(sizeof(INT32)*(cases*2+2));
for(e=1; e<cases*2+2; e++) {