[seed] %Zd is size_t, not %d...



commit 510b74c44059d7b6518356e229207750cdfc47c6
Author: Tim Horton <hortont hortont com>
Date:   Wed Apr 15 20:46:00 2009 -0400

    %Zd is size_t, not %d...
---
 modules/os/os.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/os/os.c b/modules/os/os.c
index a9e4b25..880c720 100644
--- a/modules/os/os.c
+++ b/modules/os/os.c
@@ -17,7 +17,7 @@
 SeedObject os_namespace;
 
 #define EXPECTED_EXCEPTION(name, argnum) \
-  gchar *mes = g_strdup_printf (name " expected " argnum " got %d", argument_count); \
+  gchar *mes = g_strdup_printf (name " expected " argnum " got %Zd", argument_count); \
   seed_make_exception (ctx, exception, "ArgumentError", mes); \
   g_free (mes); \
   return seed_make_null (ctx);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]