Closed
Bug 950345
Opened 11 years ago
Closed 11 years ago
warning in mozilla-central/netwerk/sctp/src/user_recv_thread.c
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 916427
People
(Reporter: iosifadrianmihai, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
978 bytes,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 (Beta/Release)
Build ID: 20130201190337
Steps to reproduce:
./mach build
Actual results:
Warning: -Wsign-compare in /home/andu/mozilla/mozilla-central/netwerk/sctp/src/user_recv_thread.c: comparison between signed and unsigned integer expressions
3:58.43 /home/andu/mozilla/mozilla-central/netwerk/sctp/src/user_recv_thread.c:485:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Reporter | ||
Comment 1•11 years ago
|
||
First patch ever
Fixed warning in mozilla-central/netwerk/sctp/src/user_recv_thread.c: comparison between signed and unsigned integer expressions
3:58.43 /mozilla-central/netwerk/sctp/src/user_recv_thread.c:485:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
added explicit cast to int to MLEN
Attachment #8347621 -
Flags: review?(mcmanus)
Reporter | ||
Comment 2•11 years ago
|
||
Attachment #8347621 -
Attachment is obsolete: true
Attachment #8347621 -
Flags: review?(mcmanus)
Attachment #8347795 -
Flags: review?(mcmanus)
Reporter | ||
Updated•11 years ago
|
Component: General → Networking
Updated•11 years ago
|
Attachment #8347795 -
Flags: review?(mcmanus) → review?(rjesup)
Comment 3•11 years ago
|
||
Michael: is this fixed by your upstream change as well?
Flags: needinfo?(tuexen)
Comment 4•11 years ago
|
||
The upstream code reads:
int iovlen = MCLBYTES;
int want_ext = (iovlen > MLEN)? 1 : 0;
and the patch of yesterday gives you
#define MLEN ((int)(MSIZE - sizeof(struct m_hdr)))
So there should no patch be necessary anymore.
Short answer: Yes, this is fixed also.
Flags: needinfo?(tuexen)
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Attachment #8347795 -
Flags: review?(rjesup)
You need to log in
before you can comment on or make changes to this bug.
Description
•