forked from osmocom/wireshark
A couple more const fixes.
svn path=/trunk/; revision=24483
This commit is contained in:
parent
7ffc01c6ce
commit
1e65f5b562
|
@ -307,7 +307,7 @@ int wslua_init(lua_State* LS) {
|
|||
filename = NULL;
|
||||
}
|
||||
|
||||
while((filename = ex_opt_get_next("lua_script"))) {
|
||||
while((filename = (gchar *)ex_opt_get_next("lua_script"))) {
|
||||
lua_load_script(filename);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -145,7 +145,7 @@ WSLUA_FUNCTION wslua_debug( lua_State* L ) { /* Will add a log entry with debug
|
|||
}
|
||||
|
||||
/* The returned filename was g_malloc()'d so the caller must free it */
|
||||
const char* wslua_get_actual_filename(const char* fname) {
|
||||
char* wslua_get_actual_filename(const char* fname) {
|
||||
static char fname_clean[256];
|
||||
char* f;
|
||||
char* filename;
|
||||
|
|
Loading…
Reference in New Issue