[gnome-builder/wip/chergert/jsonrpc-gvariant] highlighter: use 64-bit when decoding



commit dbd39c591d544dcf5c3984d833243777fea717f2
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 18 01:46:21 2017 -0700

    highlighter: use 64-bit when decoding

 libide/langserv/ide-langserv-highlighter.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libide/langserv/ide-langserv-highlighter.c b/libide/langserv/ide-langserv-highlighter.c
index cdb6716..1b6bc1e 100644
--- a/libide/langserv/ide-langserv-highlighter.c
+++ b/libide/langserv/ide-langserv-highlighter.c
@@ -129,11 +129,11 @@ ide_langserv_highlighter_document_symbol_cb (GObject      *object,
           const gchar *name = NULL;
           const gchar *tag;
           gboolean success;
-          gint kind = 0;
+          gint64 kind = 0;
 
           success = JSONRPC_MESSAGE_PARSE (member,
             "name", JSONRPC_MESSAGE_GET_STRING (&name),
-            "kind", JSONRPC_MESSAGE_GET_INT32 (&kind)
+            "kind", JSONRPC_MESSAGE_GET_INT64 (&kind)
           );
 
           if (!success)


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