Closed Bug 1414747 Opened 7 years ago Closed 7 years ago

secport.c fix signed / unsigned mismatch

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jeanluc.bonnafoux, Assigned: jeanluc.bonnafoux)

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20171024165158

Steps to reproduce:

I have compiled code using Visual Studio 2017 and the compiler reports a warning about signed / unsigned mismatch


Actual results:

Compiler reported the following warning:
security/nss/lib/util/secport.c:793 [C4018] '<': signed/unsigned mismatch


Expected results:

Code should have compiled without any warning.
Comment on attachment 8925447 [details]
Bug 1414747 - secport.c fix signed / unsigned mismatch

Tim Taubert [:ttaubert] has approved the revision.

https://phabricator.services.mozilla.com/D192#4820
Attachment #8925447 - Flags: review+
Assignee: nobody → jeanluc.bonnafoux
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
BTW, for the next time, please submit a patch against the NSS repository [1]. Firefox just uses a copy of NSS but we usually work on the upstream repo. Thanks!

[1] https://hg.mozilla.org/projects/nss
https://hg.mozilla.org/projects/nss/rev/c710811a5cc7
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.35
Hello,

Thanks for the review and comment. Does it mean i have to do a dedicated pull request for code changes on NSS ?

Thanks,
You basically should have a separate checkout of NSS (without the surrounding Firefox code) and then call "arc diff" in there.
Comment on attachment 8925447 [details]
Bug 1414747 - secport.c fix signed / unsigned mismatch

Tim Taubert [:ttaubert] has been removed from the revision.

https://phabricator.services.mozilla.com/D192
Attachment #8925447 - Flags: review+
Attachment #8925447 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: