diff --git a/src/libsystemd-terminal/term-wcwidth.c b/src/libsystemd-terminal/term-wcwidth.c index 443161cfb8..df20a40451 100644 --- a/src/libsystemd-terminal/term-wcwidth.c +++ b/src/libsystemd-terminal/term-wcwidth.c @@ -66,8 +66,8 @@ #include "term-internal.h" struct interval { - int first; - int last; + wchar_t first; + wchar_t last; }; /* auxiliary function for binary search in interval table */