aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-01-09 21:28:04 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-01-09 21:28:04 -0500
commit238ea9f6743bcd6d76db40511396b676520263dd (patch)
tree0752853c34fcb979ddc2a1635e8bdc7c800d93b5 /src
parent2323ec38bf5f5340e93de3a53eaca4b428a3645e (diff)
downloadtextadept-238ea9f6743bcd6d76db40511396b676520263dd.tar.gz
textadept-238ea9f6743bcd6d76db40511396b676520263dd.zip
Use proper pointer type for SendScintilla calls; src/textadept.c
Diffstat (limited to 'src')
-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);