summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-03 23:40:00 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-03 23:53:49 -0400
commit61b385c616633f12339411b68be29501fdb5fa18 (patch)
tree9ef1ffef64c4ca0ce5acd1c03aac997cf36d779b
parent590baf91f3fc9f0edd7986c66da00be10e48a25d (diff)
terminal: avoid warning about signed-unsigned comparison
-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 */