From 238ea9f6743bcd6d76db40511396b676520263dd Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 9 Jan 2011 21:28:04 -0500 Subject: Use proper pointer type for SendScintilla calls; src/textadept.c --- src/textadept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textadept.c') 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); -- cgit v1.2.3