pike.git/
src/
las.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.
462:
MALLOC_FUNCTION node * alloc_node_s() {
-
return
(node*)
ba_alloc(&Pike_compiler->node_allocator);
+
return ba_alloc(&Pike_compiler->node_allocator);
} void count_memory_in_node_ss(size_t * num, size_t * size) {
2495:
struct used_vars *ret; struct scope_info *src; struct scope_info **dst;
-
ret=
(struct used_vars *)
xalloc(sizeof(struct used_vars));
+
ret=xalloc(sizeof(struct used_vars));
src = a->locals; dst = &(ret->locals); *dst = NULL;