mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	Incorrect string formatters, fixes #692229
This commit is contained in:
		| @@ -668,7 +668,7 @@ get_contents_stdio (const gchar  *display_filename, | ||||
|               g_set_error (error, | ||||
|                            G_FILE_ERROR, | ||||
|                            G_FILE_ERROR_NOMEM, | ||||
|                            g_dngettext (GETTEXT_PACKAGE, "Could not allocate %ld byte to read file \"%s\"", "Could not allocate %lu bytes to read file \"%s\"", (gulong)total_allocated), | ||||
|                            g_dngettext (GETTEXT_PACKAGE, "Could not allocate %lu byte to read file \"%s\"", "Could not allocate %lu bytes to read file \"%s\"", (gulong)total_allocated), | ||||
|                            (gulong) total_allocated, | ||||
| 			   display_filename); | ||||
|  | ||||
| @@ -756,7 +756,7 @@ get_contents_regfile (const gchar  *display_filename, | ||||
|       g_set_error (error, | ||||
|                    G_FILE_ERROR, | ||||
|                    G_FILE_ERROR_NOMEM, | ||||
|                            g_dngettext (GETTEXT_PACKAGE, "Could not allocate %ld byte to read file \"%s\"", "Could not allocate %lu bytes to read file \"%s\"", (gulong)alloc_size), | ||||
|                            g_dngettext (GETTEXT_PACKAGE, "Could not allocate %lu byte to read file \"%s\"", "Could not allocate %lu bytes to read file \"%s\"", (gulong)alloc_size), | ||||
|                    (gulong) alloc_size,  | ||||
| 		   display_filename); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user