[gjs] gi/value: Fix uint type in variable



commit 5dfbebb9262ff140f194c2da0fd2e11a69ea25bc
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Wed Nov 13 20:28:22 2013 +0100

    gi/value: Fix uint type in variable
    
    It's not a standard type; we should use guint instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712242

 gi/value.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/value.cpp b/gi/value.cpp
index 2eb9bec..0efc4aa 100644
--- a/gi/value.cpp
+++ b/gi/value.cpp
@@ -663,7 +663,7 @@ gjs_value_from_g_value_internal(JSContext    *context,
         v = g_value_get_int(gvalue);
         return JS_NewNumberValue(context, v, value_p);
     } else if (gtype == G_TYPE_UINT) {
-        uint v;
+        guint v;
         v = g_value_get_uint(gvalue);
         return JS_NewNumberValue(context, v, value_p);
     } else if (gtype == G_TYPE_DOUBLE) {


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