mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.11.0t2
This commit is contained in:
@@ -241,8 +241,8 @@ convhex2z(char *hex)
|
||||
/* slen is even now */
|
||||
|
||||
/* eat two hex chars at a time until the HALF is full */
|
||||
for (; (slen % (BASEB/4)) != 0; slen -= 2) {
|
||||
*hp = ((*hp<<8) | hex2bin(*sp++, *sp++));
|
||||
for (; (slen % (BASEB/4)) != 0; slen -= 2, sp += 2) {
|
||||
*hp = ((*hp<<8) | hex2bin(sp[0], sp[1]));
|
||||
}
|
||||
|
||||
/* move on to the next HALF */
|
||||
|
Reference in New Issue
Block a user