Wireshark mailing list archives

Re: dumpcap.c:1796:5: error: signed and unsigned type in conditional expression


From: Michael Tuexen <Michael.Tuexen () lurchi franken de>
Date: Sat, 11 Aug 2012 17:49:44 +0200


On Aug 11, 2012, at 3:42 PM, Toralf Förster wrote:

Hhm, compiling wireshark's svn tree (44441) I get :

cc1: warnings being treated as errors
dumpcap.c: In function ‘cap_pipe_select’:
dumpcap.c:1796:5: error: signed and unsigned type in conditional expression
dumpcap.c:1796:5: error: signed and unsigned type in conditional expression
make[2]: *** [dumpcap-dumpcap.o] Error 1

Now I'm wondering whether this could be related to glibc's update from 2.14 to 2.15
I made yesterday at my stable x86 Gentoo Linux ?
Hmm, I don't know. But the line
    FD_SET(pipe_fd, &rfds);
looks correct to me... All types are as I would expect

Best regards
Michael

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: