Fix a warning

This commit is contained in:
Andreas Öman 2012-06-10 06:28:09 +02:00
parent 8f9ac9040e
commit 7d31b78414

View file

@ -41,7 +41,7 @@ static int convert_iso_8859[16] = {
#define convert_utf8 14
#define convert_iso6937 15
static inline int encode_utf8(uint16_t c, char *outb, int outleft)
static inline int encode_utf8(unsigned int c, char *outb, int outleft)
{
if (c <= 0x7F && outleft >= 1) {
*outb = c;