1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

Align return type of scm_to_wchar with its declaration.

* libguile/numbers.c (scm_t_wchar): Change return type from wchar_t to
scm_t_wchar which is the return type in numbers.h.
This commit is contained in:
Mikael Djurfeldt 2022-02-10 12:36:06 +01:00
parent 2aed3c117c
commit 2e10a1257f

View file

@ -6847,7 +6847,7 @@ scm_from_uint64 (uint64_t arg)
return scm_integer_from_uint64 (arg); return scm_integer_from_uint64 (arg);
} }
wchar_t scm_t_wchar
scm_to_wchar (SCM arg) scm_to_wchar (SCM arg)
{ {
return inum_in_range (arg, -1, 0x10ffff); return inum_in_range (arg, -1, 0x10ffff);