Closed
Bug 507798
Opened 16 years ago
Closed 9 years ago
nsMsgComposeSecure.cpp: 2 "warning C4018: '<' : signed/unsigned mismatch"
Categories
(MailNews Core :: Security: S/MIME, defect)
MailNews Core
Security: S/MIME
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1149320
People
(Reporter: sgautherie, Unassigned)
References
()
Details
{
.../mailnews/extensions/smime/src/nsMsgComposeSecure.cpp(1032) : warning C4018: '<' : signed/unsigned mismatch
.../mailnews/extensions/smime/src/nsMsgComposeSecure.cpp(1114) : warning C4018: '<' : signed/unsigned mismatch
}
They are "PRUint32 n != PRInt32 size".
It looks like 'size' should be 'PRUint32':
need to check/modify the callers.
Hello,
I would be happy to help on this issue, could you please assign it to me ?
Thanks,
Updated•9 years ago
|
Assignee: nobody → jeanluc.bonnafoux
Hello,
i did a build today (release mode with debug info) and i had no warnings at all nsMsgComposeSecure.cpp
My opinion is that the issue is solved.
Can somebody double check ?
Thanks,
Comment 3•9 years ago
|
||
aceman might be better able to advise you.
p.s. merywl is my test account
Flags: needinfo?(merywl) → needinfo?(acelists)
Hello,
I have used Microsoft Visual Studio 2015 Community edition.
Thanks,
The line numbers seem to have changed since the report, but assuming from comment 0 the problems were in comparisions of 'n' variable and 'size' variable. Those have been changed since the report and 'size' is cast to uint32_t .
Incidentally, that was done by me in bug 1149320 :)
Thanks for checking the report and finding it is already solved.
Assignee: jeanluc.bonnafoux → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•