Revision d8a852fa xseg/xtypes/xobj.c

b/xseg/xtypes/xobj.c
60 60
	 */
61 61
	//bytes = xheap_get_chunk_size(xhash);
62 62

  
63
	xhash_init(xhash, 3, INTEGER);
63
	xhash_init(xhash, 3, 0, INTEGER);
64 64
	obj_h->allocated = XPTR_MAKE(xhash, container);
65 65
	obj_h->list = 0;
66 66
	obj_h->flags = 0;
......
118 118
		new = xheap_allocate(heap, size);
119 119
		if (!new)
120 120
			goto err;
121
		xhash_resize(allocated, sizeshift, new);
121
		xhash_resize(allocated, sizeshift, 0, new);
122 122
		xheap_free(allocated);
123 123
		allocated = new;
124 124
		obj_h->allocated = XPTR_MAKE(allocated, container);

Also available in: Unified diff