[gimp] Use correct format string for size_t args
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Use correct format string for size_t args
- Date: Thu, 17 Mar 2011 18:37:27 +0000 (UTC)
commit 584f9a35e78ed37eaefc55a09639a69ebe4909d2
Author: Mukund Sivaraman <muks banu com>
Date: Fri Mar 18 00:04:51 2011 +0530
Use correct format string for size_t args
plug-ins/common/sphere-designer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/sphere-designer.c b/plug-ins/common/sphere-designer.c
index f9bf8ed..967f625 100644
--- a/plug-ins/common/sphere-designer.c
+++ b/plug-ins/common/sphere-designer.c
@@ -2018,7 +2018,7 @@ loadit (const gchar * fn)
s.com.numtexture = 0;
- snprintf (fmt_str, sizeof (fmt_str), "%%d %%d %%%ds", sizeof (endbuf) - 1);
+ snprintf (fmt_str, sizeof (fmt_str), "%%d %%d %%%zus", sizeof (endbuf) - 1);
while (!feof (f))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]