forked from osmocom/wireshark
We have to cast away constness here, because C doesn't have
parameterized types. svn path=/trunk/; revision=54801
This commit is contained in:
parent
f862fc40ba
commit
a48d06df11
|
@ -263,7 +263,7 @@ WSLUA_FUNCTION wslua_new_dialog(lua_State* L) { /* Pops up a new dialog */
|
|||
if (! label)
|
||||
WSLUA_ERROR(new_dialog,"All fields must be strings");
|
||||
|
||||
g_ptr_array_add(labels,label);
|
||||
g_ptr_array_add(labels,(gpointer)label);
|
||||
}
|
||||
|
||||
g_ptr_array_add(labels,NULL);
|
||||
|
|
Loading…
Reference in New Issue