[seed] Use %zd instead of %d for printf with size_t types
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Use %zd instead of %d for printf with size_t types
- Date: Thu, 7 May 2009 03:59:39 -0400 (EDT)
commit 0d0b521bae92a58828635511a70a77e46ce0a82e
Author: Tim Horton <hortont svn gnome org>
Date: Thu May 7 03:43:55 2009 -0400
Use %zd instead of %d for printf with size_t types
---
libseed/seed-builtins.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libseed/seed-builtins.c b/libseed/seed-builtins.c
index 9f0c957..4368570 100644
--- a/libseed/seed-builtins.c
+++ b/libseed/seed-builtins.c
@@ -213,7 +213,7 @@ seed_print (JSContextRef ctx,
if (argumentCount != 1)
{
seed_make_exception (ctx, exception, "ArgumentError",
- "Seed.print expected 1 argument, got %d",
+ "Seed.print expected 1 argument, got %zd",
argumentCount);
return JSValueMakeNull (ctx);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]