1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-02 13:33:20 +03:00

Fix implicit-int-conversion warning in exslt/crypto.c

This commit is contained in:
Nick Wellnhofer
2020-01-10 13:11:45 +01:00
parent aac4bccdd8
commit f235404b13

View File

@@ -101,7 +101,7 @@ exsltCryptoHex2Bin (const unsigned char *hex, int hexlen,
else if (tmp >= 'a' && tmp <= 'f')
lo = 10 + (tmp - 'a');
result = hi << 4;
result = (unsigned char) (hi << 4);
result += lo;
bin[j++] = result;
}