This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[obvoius] fibheap.c: Fix type of a variable
- From: Josef Zlomek <zlomj9am at artax dot karlin dot mff dot cuni dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 6 Sep 2003 07:27:16 +0200
- Subject: [obvoius] fibheap.c: Fix type of a variable
Hi,
this patch just changes type of OKEY to FIBHEAPKEY_T because
the key is assigned to it and it is compared with a key.
Josef
2003-09-06 Josef Zlomek <zlomekj@suse.cz>
* fibheap.c (fibheap_replace_key_data): Change type of OKEY to
FIBHEAPKEY_T.
Index: fibheap.c
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/fibheap.c,v
retrieving revision 1.5
diff -c -3 -p -r1.5 fibheap.c
*** fibheap.c 20 Sep 2002 02:40:51 -0000 1.5
--- fibheap.c 6 Sep 2003 05:15:36 -0000
*************** fibheap_replace_key_data (heap, node, ke
*** 218,224 ****
void *data;
{
void *odata;
! int okey;
fibnode_t y;
/* If we wanted to, we could actually do a real increase by redeleting and
--- 218,224 ----
void *data;
{
void *odata;
! fibheapkey_t okey;
fibnode_t y;
/* If we wanted to, we could actually do a real increase by redeleting and