From 51a7fa1404db99efc7239b2cf9215fe83491f8a5 Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Wed, 2 May 2007 23:54:01 +0000 Subject: The forgotten file strikes back. ... It also fixes a lua compile warning/error in wslua_gui.c. ... svn path=/trunk/; revision=21656 --- epan/wslua/wslua_gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan') diff --git a/epan/wslua/wslua_gui.c b/epan/wslua/wslua_gui.c index 7a4f12e905..9b15780f2f 100644 --- a/epan/wslua/wslua_gui.c +++ b/epan/wslua/wslua_gui.c @@ -537,7 +537,7 @@ WSLUA_FUNCTION wslua_open_capture_file(lua_State* L) { /* open and display a cap const char* fname = luaL_checkstring(L,WSLUA_ARG_open_capture_file_FILENAME); const char* filter = luaL_optstring(L,WSLUA_ARG_open_capture_file_FILTER,NULL); - char* error = NULL; + const char* error = NULL; if (!ops->open_file) { WSLUA_ERROR(wslua_open_capture_file, "does not work on TShark"); @@ -637,3 +637,4 @@ WSLUA_FUNCTION wslua_browser_open_data_file(lua_State* L) { /* open an file in a } + -- cgit v1.2.3