aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_gui.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-05-02 23:54:01 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-05-02 23:54:01 +0000
commit51a7fa1404db99efc7239b2cf9215fe83491f8a5 (patch)
tree1f206ce8717147ab9adf399e3d01277887a98379 /epan/wslua/wslua_gui.c
parent8a293db12188152f4bcaa6695419cec6aa9e3ca6 (diff)
The forgotten file strikes back.
... It also fixes a lua compile warning/error in wslua_gui.c. ... svn path=/trunk/; revision=21656
Diffstat (limited to 'epan/wslua/wslua_gui.c')
-rw-r--r--epan/wslua/wslua_gui.c3
1 files changed, 2 insertions, 1 deletions
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
}
+