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:
Alx Sa 2024-08-31 19:13:53 +00:00
parent cfcdb1e7bf
commit a7cb3cb586
1 changed files with 2 additions and 1 deletions

View File

@ -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);