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:
parent
eb2fb39ff7
commit
3d6c13e48b
|
@ -89,7 +89,7 @@ static File* push_File(lua_State* L, FILE_T ft) {
|
||||||
|
|
||||||
static File* push_Wdh(lua_State* L, wtap_dumper *wdh) {
|
static File* push_Wdh(lua_State* L, wtap_dumper *wdh) {
|
||||||
File f = (File) g_malloc(sizeof(struct _wslua_file));
|
File f = (File) g_malloc(sizeof(struct _wslua_file));
|
||||||
f->file = wdh->fh;
|
f->file = (FILE_T)wdh->fh;
|
||||||
f->wdh = wdh;
|
f->wdh = wdh;
|
||||||
f->expired = FALSE;
|
f->expired = FALSE;
|
||||||
return pushFile(L,f);
|
return pushFile(L,f);
|
||||||
|
|
Loading…
Reference in New Issue