security/nss/lib/freebl/ecl/ecp_25519.c:88 warning: comparison of integers of different signs: 'int' and 'unsigned long'
Categories
(NSS :: Build, defect, P2)
Tracking
(Not tracked)
People
(Reporter: hi.himanshu14, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Steps to reproduce:
Build warning noticed while compiling Mozilla-central.
In for loop sizeof(kMethod) produced unsigned long that compare with signed int 'i' that is an iterator.
The compiler will cast 'i' as unsigned long before doing the comparison.
Actual results:
The compiler will cast 'i' as unsigned long before doing the comparison.
Expected results:
initialize 'i' iterator with unsigned long so, the compiler doesn't have to take the load for it or doesn't have to cast it at compile time every time.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
I have fix for this bug, can i push it.
Comment 2•5 years ago
|
||
Can you put it up on Phabricator for review, please?
https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html
Reporter | ||
Comment 3•5 years ago
|
||
(In reply to J.C. Jones [:jcj] (he/him) from comment #2)
Can you put it up on Phabricator for review, please?
https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html
Ok, reading this doc. I will do it with it.
Comment 5•5 years ago
|
||
Description
•