mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
x86_64 fix
* glocalfile.c (get_unique_filename): x86_64 fix svn path=/trunk/; revision=6286
This commit is contained in:
parent
896ebed1a5
commit
e4d018f1dd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user