diff --git a/plug-ins/script-fu/libscriptfu/tinyscheme/string-port.c b/plug-ins/script-fu/libscriptfu/tinyscheme/string-port.c index 9c8b770809..889e51ab74 100644 --- a/plug-ins/script-fu/libscriptfu/tinyscheme/string-port.c +++ b/plug-ins/script-fu/libscriptfu/tinyscheme/string-port.c @@ -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);