diff options
Diffstat (limited to 'epan')
-rw-r--r-- | epan/wslua/wslua_gui.c | 3 |
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 } + |