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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user