diff --git a/wcwidth.c b/wcwidth.c index 8d6adc4a..ec0fb2ba 100644 --- a/wcwidth.c +++ b/wcwidth.c @@ -64,8 +64,8 @@ #include "putty.h" /* for prototypes */ struct interval { - int first; - int last; + unsigned int first; + unsigned int last; }; /* auxiliary function for binary search in interval table */