mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit ba651d4022
This commit is contained in:
parent
4b03789551
commit
7ed2cbcfce
@ -84,7 +84,9 @@ save_image_verify (const gchar *filename, GError **error)
|
||||
/* decode base64 */
|
||||
icc_profile = (gchar *) g_base64_decode (option, &len);
|
||||
if (len != ICC_PROFILE_SIZE) {
|
||||
*error = g_error_new (1, 0, "profile length invalid, got %i", len);
|
||||
*error = g_error_new (1, 0,
|
||||
"profile length invalid, got %" G_GSIZE_FORMAT,
|
||||
len);
|
||||
g_file_set_contents ("error.icc", icc_profile, len, NULL);
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user