From 7d31b78414593be0911e7eb5941c3c064a22623c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 10 Jun 2012 06:28:09 +0200 Subject: [PATCH] Fix a warning --- src/dvb/dvb_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dvb/dvb_support.c b/src/dvb/dvb_support.c index 9830c2b9..9e8b71e7 100644 --- a/src/dvb/dvb_support.c +++ b/src/dvb/dvb_support.c @@ -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;