mirror of https://github.com/GNOME/gimp.git
libscriptfu: Fix long warning on Windows
Replaces a string format of %ld with G_GSIZE_FORMAT so that the value is converted properly on different platforms.
This commit is contained in:
parent
cfcdb1e7bf
commit
a7cb3cb586
|
@ -426,7 +426,8 @@ string_port_open_input_string (scheme *sc, pointer scheme_string, int prop)
|
|||
void
|
||||
string_port_dispose_struct (scheme *sc, port *port)
|
||||
{
|
||||
g_debug ("%s content size %ld", G_STRFUNC, strlen (port->rep.string.start) + 1);
|
||||
g_debug ("%s content size %" G_GSIZE_FORMAT, G_STRFUNC,
|
||||
strlen (port->rep.string.start) + 1);
|
||||
|
||||
/* Free allocated buffer. */
|
||||
sc->free (port->rep.string.start);
|
||||
|
|
Loading…
Reference in New Issue