]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix a warning
authorAndreas Öman <andoma@spotify.com>
Sun, 10 Jun 2012 04:28:09 +0000 (06:28 +0200)
committerAndreas Öman <andoma@spotify.com>
Sun, 10 Jun 2012 04:28:09 +0000 (06:28 +0200)
src/dvb/dvb_support.c

index 9830c2b96c9094073b549adb0419f66ad787e838..9e8b71e7abe19f8f4401392550841f04094cec7d 100644 (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;