A couple more const fixes.

svn path=/trunk/; revision=24483
This commit is contained in:
Jeff Morriss 2008-02-26 23:30:40 +00:00
parent 7ffc01c6ce
commit 1e65f5b562
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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;