mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
x86_64 fix
* glocalfile.c (get_unique_filename): x86_64 fix svn path=/trunk/; revision=6286
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-01-09 Dan Winship <danw@gnome.org>
|
||||
|
||||
* glocalfile.c (get_unique_filename): x86_64 fix
|
||||
|
||||
2008-01-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gio.symbols:
|
||||
|
@@ -1325,7 +1325,7 @@ get_unique_filename (const char *basename,
|
||||
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user