[glib] Incorrect string formatters, fixes #692229
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Incorrect string formatters, fixes #692229
- Date: Thu, 24 Jan 2013 23:17:27 +0000 (UTC)
commit c67a2ebda387331793563dafa57dbb19aa136b9d
Author: Gil Forcada <gforcada gnome org>
Date: Fri Jan 25 00:17:18 2013 +0100
Incorrect string formatters, fixes #692229
glib/gfileutils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gfileutils.c b/glib/gfileutils.c
index 47de1b5..3c1b135 100644
--- a/glib/gfileutils.c
+++ b/glib/gfileutils.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]