From 584f9a35e78ed37eaefc55a09639a69ebe4909d2 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 18 Mar 2011 00:04:51 +0530 Subject: [PATCH] Use correct format string for size_t args --- plug-ins/common/sphere-designer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/common/sphere-designer.c b/plug-ins/common/sphere-designer.c index f9bf8edd9d..967f625296 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)) {