summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-03 14:16:23 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-03-03 14:16:23 +0100
commit213dc83117e43ae376cd2a2825cfd6b0f10b0c79 (patch)
tree42edddfd7c4d3657d5dd30c839176f95bb659141
parent0d7aa128d0bbf290b958f50851085a1586d63efa (diff)
fix 7bit character conversion
-rw-r--r--commands-wms.c2
1 files changed, 1 insertions, 1 deletions
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,