We have to cast away constness here, because C doesn't have

parameterized types.

svn path=/trunk/; revision=54801
This commit is contained in:
Guy Harris 2014-01-14 18:42:16 +00:00
parent f862fc40ba
commit a48d06df11
1 changed files with 1 additions and 1 deletions

View File

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