Commit 9abe8897 authored by Kurt Roeckx's avatar Kurt Roeckx Committed by Richard Levitte
Browse files

Fix VC warnings about unary minus to an unsigned type.



Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
GH: #2230
(partial cherry pick from commit 68d4bcfd)
parent e5afec18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
     * set.
     */
    if (ltmp < 0)
        utmp = -(unsigned long)ltmp - 1;
        utmp = 0 - (unsigned long)ltmp - 1;
    else
        utmp = ltmp;
    clen = BN_num_bits_word(utmp);