This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]