[seed] Fixing minor build warnings



commit 5b06dc2e02d430ce23ce5d354b45909c74b36c72
Author: Danilo Cesar Lemes de Paula <danilo cesar collabora co uk>
Date:   Mon Jan 11 11:23:51 2016 -0200

    Fixing minor build warnings

 libseed/seed-engine.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libseed/seed-engine.c b/libseed/seed-engine.c
index 51dcae3..3f193e6 100644
--- a/libseed/seed-engine.c
+++ b/libseed/seed-engine.c
@@ -799,7 +799,7 @@ seed_gobject_method_invoked (JSContextRef ctx,
          {
            array_len =  (&out_values[  out_pos[length_arg_pos] ])->v_uint32;
          }
-       SEED_NOTE (INVOCATION, "array_len=%d\n", array_len);
+       SEED_NOTE (INVOCATION, "array_len=%" G_GUINT64_FORMAT "\n", array_len);
        retval_ref =
          seed_value_from_gi_argument_full (ctx, &retval, type_info, exception,
                                            array_len, tag);
@@ -881,7 +881,7 @@ seed_gobject_method_invoked (JSContextRef ctx,
             // this may work, but the above should be more accurate..
             //array_len =  (&out_values[  out_pos[length_arg_pos] ])->v_uint32;
                                      
-            SEED_NOTE (INVOCATION, "Getting length from OUTPOS=%d,  ORIGPOS=%d :  result = %d",
+            SEED_NOTE (INVOCATION, "Getting length from OUTPOS=%d,  ORIGPOS=%d :  result = %" 
G_GUINT64_FORMAT,
                  out_pos[length_arg_pos],  length_arg_pos, array_len);
             // free stuff.
             


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