summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/term-wcwidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-terminal/term-wcwidth.c')
-rw-r--r--src/libsystemd-terminal/term-wcwidth.c4
1 files changed, 2 insertions, 2 deletions
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 */