aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2015-08-24 17:58:11 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2015-08-24 17:58:11 +0000
commit6743350af74b113fc67d395844a1d5bcb0d1c987 (patch)
treedf7b18a693238bd847d3ab989b1df10b71cbe23b
parent9b9266e8e74678d972d6cdb3662cd26e3352a3ce (diff)
downloadsrc-6743350af74b113fc67d395844a1d5bcb0d1c987.tar.gz
src-6743350af74b113fc67d395844a1d5bcb0d1c987.zip
Fix build for architectures that define wchar_t as an unsigned int.
Reported by: bz@
Notes
Notes: svn path=/head/; revision=287114
-rw-r--r--contrib/libxo/libxo/xo_wcwidth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libxo/libxo/xo_wcwidth.h b/contrib/libxo/libxo/xo_wcwidth.h
index 773307f3e2de..46d83f0365d2 100644
--- a/contrib/libxo/libxo/xo_wcwidth.h
+++ b/contrib/libxo/libxo/xo_wcwidth.h
@@ -62,8 +62,8 @@
#include <wchar.h>
struct interval {
- int first;
- int last;
+ wchar_t first;
+ wchar_t last;
};
/* auxiliary function for binary search in interval table */