/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c: In function ‘read_block’:
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:118:5: error: passing argument 3 of ‘file_read’ from incompatible pointer type [-Werror]
bytes_read = file_read((void *)buf, buf_len, fh);
^
In file included from /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:68:0:
/home/jmayer/work/wireshark/svn/trunk/filetap/file_wrappers.h:40:19: note: expected ‘FILE_F’ but argument is of type ‘FILE_T’
WS_DLL_PUBLIC int file_read(void *buf, unsigned int count, FILE_F file);
^
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:120:9: error: passing argument 1 of ‘file_error’ from incompatible pointer type [-Werror]
*err = file_error(fh, err_info);
^
In file included from /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:68:0:
/home/jmayer/work/wireshark/svn/trunk/filetap/file_wrappers.h:44:19: note: expected ‘FILE_F’ but argument is of type ‘FILE_T’
WS_DLL_PUBLIC int file_error(FILE_F fh, gchar **err_info);
^
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c: In function ‘read_packet_data’:
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:227:13: error: passing argument 1 of ‘file_seek’ from incompatible pointer type [-Werror]
if (-1 == file_seek(fh, -(gint64)sizeof(block), SEEK_CUR, err))
^
In file included from /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:68:0:
/home/jmayer/work/wireshark/svn/trunk/filetap/file_wrappers.h:34:22: note: expected ‘FILE_F’ but argument is of type ‘FILE_T’
WS_DLL_PUBLIC gint64 file_seek(FILE_F stream, gint64 offset, int whence, int *err);
^
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c: In function ‘camins_read’:
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:304:5: error: passing argument 1 of ‘file_tell’ from incompatible pointer type [-Werror]
*data_offset = file_tell(wth->fh);
^
In file included from /home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:68:0:
/home/jmayer/work/wireshark/svn/trunk/filetap/file_wrappers.h:36:22: note: expected ‘FILE_F’ but argument is of type ‘FILE_T’
WS_DLL_PUBLIC gint64 file_tell(FILE_F stream);
^
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c: In function ‘camins_seek_read’:
/home/jmayer/work/wireshark/svn/trunk/wiretap/camins.c:316:5: error: passing argument 1 of ‘file_seek’ from incompatible pointer type [-Werror]
if (-1 == file_seek(wth->random_fh, seek_off, SEEK_SET, err))
^
....
--
Joerg Mayer <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.