mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-23 04:50:28 +02:00
Use uc_tolower in number conversion
* libguile/numbers.c (XDIGIT2UINT): use uc_tolower
This commit is contained in:
parent
3f47e52621
commit
cdf8f9e632
1 changed files with 1 additions and 1 deletions
|
@ -2488,7 +2488,7 @@ enum t_exactness {NO_EXACTNESS, INEXACT, EXACT};
|
|||
#define XDIGIT2UINT(d) \
|
||||
(uc_is_property_decimal_digit ((int) (unsigned char) d) \
|
||||
? (d) - '0' \
|
||||
: tolower ((int) (unsigned char) d) - 'a' + 10)
|
||||
: uc_tolower ((int) (unsigned char) d) - 'a' + 10)
|
||||
|
||||
static SCM
|
||||
mem2uinteger (SCM mem, unsigned int *p_idx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue