[seed] [ffi] Use size_t format flag
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [seed] [ffi] Use size_t format flag
- Date: Mon, 10 Aug 2009 20:29:32 +0000 (UTC)
commit 2bf2aa84be18476d1de9f662b6656982c4a96fc6
Author: Tim Horton <hortont svn gnome org>
Date: Mon Aug 10 16:27:26 2009 -0400
[ffi] Use size_t format flag
modules/ffi/seed-ffi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/ffi/seed-ffi.c b/modules/ffi/seed-ffi.c
index 854df44..83ec65e 100644
--- a/modules/ffi/seed-ffi.c
+++ b/modules/ffi/seed-ffi.c
@@ -369,7 +369,7 @@ seed_ffi_function_call (SeedContext ctx,
if (argument_count != priv->n_args)
{
- seed_make_exception (ctx, exception, "ArgumentError", "%s expected %d arguments got %d",
+ seed_make_exception (ctx, exception, "ArgumentError", "%s expected %d arguments got %Zd",
priv->name, priv->n_args, argument_count);
return seed_make_null (ctx);
}
@@ -437,7 +437,7 @@ seed_ffi_construct_library (SeedContext ctx,
{
seed_make_exception (ctx, exception,
"ArgumentError",
- "ffi.Library constructor expects 1 argument (filename, or none to use NULL GModule), got %d",
+ "ffi.Library constructor expects 1 argument (filename, or none to use NULL GModule), got %Zd",
argument_count);
return seed_make_null (ctx);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]