[gnome-builder] langserv: use 64-bit parsing in rename providers
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] langserv: use 64-bit parsing in rename providers
- Date: Sat, 18 Mar 2017 09:30:12 +0000 (UTC)
commit e433f7d1916849ec773dc4f0750c2a42468d16ea
Author: Christian Hergert <chergert redhat com>
Date: Sat Mar 18 01:46:44 2017 -0700
langserv: use 64-bit parsing in rename providers
libide/langserv/ide-langserv-rename-provider.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libide/langserv/ide-langserv-rename-provider.c b/libide/langserv/ide-langserv-rename-provider.c
index 4432807..ea74427 100644
--- a/libide/langserv/ide-langserv-rename-provider.c
+++ b/libide/langserv/ide-langserv-rename-provider.c
@@ -177,19 +177,19 @@ ide_langserv_rename_provider_rename_cb (GObject *object,
const gchar *new_text = NULL;
gboolean success;
struct {
- gint line;
- gint column;
+ gint64 line;
+ gint64 column;
} begin, end;
success = JSONRPC_MESSAGE_PARSE (change,
"range", "{",
"start", "{",
- "line", JSONRPC_MESSAGE_GET_INT32 (&begin.line),
- "character", JSONRPC_MESSAGE_GET_INT32 (&begin.column),
+ "line", JSONRPC_MESSAGE_GET_INT64 (&begin.line),
+ "character", JSONRPC_MESSAGE_GET_INT64 (&begin.column),
"}",
"end", "{",
- "line", JSONRPC_MESSAGE_GET_INT32 (&end.line),
- "character", JSONRPC_MESSAGE_GET_INT32 (&end.column),
+ "line", JSONRPC_MESSAGE_GET_INT64 (&end.line),
+ "character", JSONRPC_MESSAGE_GET_INT64 (&end.column),
"}",
"}",
"newText", JSONRPC_MESSAGE_GET_STRING (&new_text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]