[srvx-commits] CVS: services/src heap.c,1.21,1.22
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-12-17 20:26:16
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv23862/src
Modified Files:
heap.c
Log Message:
remove pointless typecast
Index: heap.c
===================================================================
RCS file: /cvsroot/srvx/services/src/heap.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** heap.c 15 Aug 2002 03:50:09 -0000 1.21
--- heap.c 17 Dec 2002 20:26:13 -0000 1.22
***************
*** 83,87 ****
if (heap->data_used == heap->data_alloc) {
heap->data_alloc *= 2;
! heap->data = (void**)realloc(heap->data, 2*heap->data_alloc*sizeof(void*));
}
heap->data[heap->data_used*2] = key;
--- 83,87 ----
if (heap->data_used == heap->data_alloc) {
heap->data_alloc *= 2;
! heap->data = realloc(heap->data, 2*heap->data_alloc*sizeof(void*));
}
heap->data[heap->data_used*2] = key;
|