Wireshark-commits: [Wireshark-commits] rev 50798: /trunk/wiretap/ /trunk/wiretap/: CMakeLists.txt
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50798
User: jmayer
Date: 2013/07/22 02:23 PM
Log:
Move file_wrappers.c to dirty files, it has some warnings (turning errors)
when compiled with clang.
Just for documentation:
[ 6%] Building C object wiretap/CMakeFiles/wiretap.dir/file_wrappers.c.o
/home/jmayer/work/wireshark/svn/trunk/wiretap/file_wrappers.c:987:28: warning: implicit
conversion loses integer precision: 'gint64' (aka 'long long') to '__off_t'
(aka 'long') [-Wshorten-64-to-32]
if (ws_lseek64(file->fd, off, SEEK_SET) == -1) {
~~~~~~~~~~ ^~~
/home/jmayer/work/wireshark/svn/trunk/wiretap/file_wrappers.c:1051:35: warning:
implicit conversion loses integer precision: 'long long' to '__off_t' (aka 'long')
[-Wshorten-64-to-32]
if (ws_lseek64(file->fd, offset - file->have, SEEK_CUR) == -1) {
~~~~~~~~~~ ~~~~~~~^~~~~~~~~~~~
/home/jmayer/work/wireshark/svn/trunk/wiretap/file_wrappers.c:1076:34: warning:
implicit conversion loses integer precision: 'gint64' (aka 'long long') to
'__off_t' (aka 'long') [-Wshorten-64-to-32]
if (ws_lseek64(file->fd, file->start, SEEK_SET) == -1) {
~~~~~~~~~~ ~~~~~~^~~~~
3 warnings generated.
Directory: /trunk/wiretap/
Changes Path Action
+8 -4 CMakeLists.txt Modified