Fix build

wslua_file.c:92:13: error: request for implicit conversion from 'WFILE_T' to 'FILE_T' not permitted in C++ [-Werror=c++-compat]

Change-Id: Iff9cc716333802a3902429a8c68e5f4cdac2ee9e
Reviewed-on: https://code.wireshark.org/review/732
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Alexis La Goutte 2014-03-19 12:22:23 +01:00
parent eb2fb39ff7
commit 3d6c13e48b
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ static File* push_File(lua_State* L, FILE_T ft) {
static File* push_Wdh(lua_State* L, wtap_dumper *wdh) {
File f = (File) g_malloc(sizeof(struct _wslua_file));
f->file = wdh->fh;
f->file = (FILE_T)wdh->fh;
f->wdh = wdh;
f->expired = FALSE;
return pushFile(L,f);