[gjs] Use guint32 instead of jsuint



commit f0796e7943411f9132966c98a5bd335d03ca2884
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Wed Jan 2 19:43:47 2013 +0100

    Use guint32 instead of jsuint

 gi/object.c     |    2 +-
 gjs/byteArray.c |    4 ++--
 gjs/importer.c  |    8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gi/object.c b/gi/object.c
index f241d16..2eb71f0 100644
--- a/gi/object.c
+++ b/gi/object.c
@@ -2173,7 +2173,7 @@ gjs_register_type(JSContext *cx,
 	0,    /* n_preallocs */
 	(GInstanceInitFunc) NULL,
     };
-    jsuint i, n_interfaces;
+    guint32 i, n_interfaces;
     GType *iface_types;
 
     JS_BeginRequest(cx);
diff --git a/gjs/byteArray.c b/gjs/byteArray.c
index c2273cc..3bdc689 100644
--- a/gjs/byteArray.c
+++ b/gjs/byteArray.c
@@ -767,8 +767,8 @@ from_array_func(JSContext *context,
 {
     jsval *argv = JS_ARGV(context, vp);
     ByteArrayInstance *priv;
-    jsuint len;
-    jsuint i;
+    guint32 len;
+    guint32 i;
     JSObject *obj;
     JSBool ret = JS_FALSE;
 
diff --git a/gjs/importer.c b/gjs/importer.c
index d7a3ecc..a4c242f 100644
--- a/gjs/importer.c
+++ b/gjs/importer.c
@@ -524,8 +524,8 @@ do_import(JSContext  *context,
     jsval search_path_val;
     JSObject *search_path;
     JSObject *module_obj = NULL;
-    jsuint search_path_len;
-    jsuint i;
+    guint32 search_path_len;
+    guint32 i;
     JSBool result;
     GPtrArray *directories;
 
@@ -786,8 +786,8 @@ importer_new_enumerate(JSContext  *context,
         Importer *priv;
         JSObject *search_path;
         jsval search_path_val;
-        jsuint search_path_len;
-        jsuint i;
+        guint32 search_path_len;
+        guint32 i;
 
         if (state_p)
             *state_p = JSVAL_NULL;



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