[Nautilus-list] 64bit bug in nautilus-icon-container



Patch below.

Index: libnautilus-private/nautilus-icon-container.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v
retrieving revision 1.214.2.1
diff -u -p -r1.214.2.1 nautilus-icon-container.c
--- libnautilus-private/nautilus-icon-container.c	2001/07/19 19:14:48	1.214.2.1
+++ libnautilus-private/nautilus-icon-container.c	2001/08/01 18:27:09
@@ -1069,7 +1069,7 @@ lay_down_icons_tblr (NautilusIconContain
 		g_assert (grid_memory);
 
 		/* Allocate room for the pointers to the rows */
-		icon_grid = malloc (num_rows * sizeof (int));
+		icon_grid = malloc (num_rows * sizeof (int *));
 		g_assert (icon_grid);
 
 		/* Point to array pointers */

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]