seed r620 - trunk/libseed
- From: hortont svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r620 - trunk/libseed
- Date: Thu, 1 Jan 2009 11:49:17 +0000 (UTC)
Author: hortont
Date: Thu Jan 1 11:49:17 2009
New Revision: 620
URL: http://svn.gnome.org/viewvc/seed?rev=620&view=rev
Log:
Build fixes for 64-bit.
Modified:
trunk/libseed/seed-builtins.c
Modified: trunk/libseed/seed-builtins.c
==============================================================================
--- trunk/libseed/seed-builtins.c (original)
+++ trunk/libseed/seed-builtins.c Thu Jan 1 11:49:17 2009
@@ -39,7 +39,7 @@
{
gchar *mes =
g_strdup_printf("Seed.include expected 1 argument, "
- "got %d", argumentCount);
+ "got %d", (unsigned int) argumentCount);
seed_make_exception(ctx, exception, "ArgumentError", mes);
g_free(mes);
return JSValueMakeNull(ctx);
@@ -90,7 +90,7 @@
{
gchar *mes =
g_strdup_printf("Seed.print expected 1 argument," " got %d",
- argumentCount);
+ (unsigned int) argumentCount);
seed_make_exception(ctx, exception, "ArgumentError", mes);
g_free(mes);
return JSValueMakeNull(ctx);
@@ -140,7 +140,7 @@
{
gchar *mes =
g_strdup_printf("Seed.introspect expected 1 argument, "
- "got %d", argumentCount);
+ "got %d", (unsigned int) argumentCount);
seed_make_exception(ctx, exception, "ArgumentError", mes);
g_free(mes);
return JSValueMakeNull(ctx);
@@ -207,7 +207,7 @@
{
gchar *mes = g_strdup_printf("Seed.check_syntax expected "
"1 argument, got %d",
- argumentCount);
+ (unsigned int) argumentCount);
seed_make_exception(ctx, exception, "ArgumentError", mes);
g_free(mes);
}
@@ -283,7 +283,7 @@
else if (argumentCount > 1)
{
gchar *mes = g_strdup_printf("Seed.quit expected " "1 argument, got %d",
- argumentCount);
+ (unsigned int) argumentCount);
seed_make_exception(ctx, exception, "ArgumentError", mes);
g_free(mes);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]