From: Felix Fietkau Date: Sun, 3 Mar 2013 13:16:23 +0000 (+0100) Subject: fix 7bit character conversion X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=commitdiff_plain;h=213dc83117e43ae376cd2a2825cfd6b0f10b0c79 fix 7bit character conversion --- diff --git a/commands-wms.c b/commands-wms.c index cd15fbf..78554c5 100644 --- a/commands-wms.c +++ b/commands-wms.c @@ -48,7 +48,7 @@ put_unicode_char(char *dest, uint16_t c) static int -pdu_decode_7bit_char(char *dest, int len, char c, bool *escape) +pdu_decode_7bit_char(char *dest, int len, unsigned char c, bool *escape) { uint16_t conv_0x20[] = { 0x0040, 0x00A3, 0x0024, 0x00A5, 0x00E8, 0x00E9, 0x00F9, 0x00EC,