aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 67b5e644..02146db8 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -1551,7 +1551,7 @@ static int l_call_scintilla(lua_State *lua, GtkWidget *editor, int msg,
}
// Send the message to Scintilla and return the appropriate values.
- int result = SS(editor, msg, params[0], params[1]);
+ sptr_t result = SS(editor, msg, params[0], params[1]);
arg = lua_gettop(lua);
if (string_return) lua_pushlstring(lua, return_string, len);
if (rt_type == tBOOL) lua_pushboolean(lua, result);