> From: Jeffrey Altman <[EMAIL PROTECTED]>
> 
> jaltman> .\crypto\bn\bn_mul.c(109) : error C2220: warning treated as error - no
> jaltman> object file generated
> jaltman> .\crypto\bn\bn_mul.c(109) : warning C4146: unary minus operator
> jaltman> applied to unsigned type, result still unsigned
> jaltman> .\crypto\bn\bn_mul.c(114) : warning C4146: unary minus operator
> jaltman> applied to unsigned type, result still unsigned
> jaltman> .\crypto\bn\bn_mul.c(119) : warning C4146: unary minus operator
> jaltman> applied to unsigned type, result still unsigned
> jaltman> .\crypto\bn\bn_mul.c(124) : warning C4146: unary minus operator
> jaltman> applied to unsigned type, result still unsigned
> 
> Does it get better if you change all occurences of "(-t-c)" to "(0-t-c)"?

That is what I did to make the warnings go away.  But I'm not
confident as to the lack of overflow or underflow or .... since we are
computing a signed value and storing it back to an unsigned value



                  Jeffrey Altman * Sr.Software Designer
                 The Kermit Project * Columbia University
               612 West 115th St * New York, NY * 10025 * USA
     http://www.kermit-project.org/ * [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to