glib r6286 - trunk/gio



Author: danw
Date: Wed Jan  9 16:39:42 2008
New Revision: 6286
URL: http://svn.gnome.org/viewvc/glib?rev=6286&view=rev

Log:
	* glocalfile.c (get_unique_filename): x86_64 fix


Modified:
   trunk/gio/ChangeLog
   trunk/gio/glocalfile.c

Modified: trunk/gio/glocalfile.c
==============================================================================
--- trunk/gio/glocalfile.c	(original)
+++ trunk/gio/glocalfile.c	Wed Jan  9 16:39:42 2008
@@ -1325,7 +1325,7 @@
 
   dot = strchr (basename, '.');
   if (dot)
-    return g_strdup_printf ("%.*s.%d%s", dot - basename, basename, id, dot);
+    return g_strdup_printf ("%.*s.%d%s", (int)(dot - basename), basename, id, dot);
   else
     return g_strdup_printf ("%s.%d", basename, id);
 }



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