aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gsm_sms.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2003-12-11 21:23:37 +0000
committerUlf Lamping <ulf.lamping@web.de>2003-12-11 21:23:37 +0000
commit10e3320115a0fd419829016e29a62ca806081878 (patch)
treefb84266ca65361a8ca29f29daffb1e7fd1217b12 /packet-gsm_sms.c
parent95ea01a41ad9ca8a1b3514c1bef8a69141721bf0 (diff)
prevent MSVC warning:
"warning C4761: Gr´┐Ż´┐Żenkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
Diffstat (limited to 'packet-gsm_sms.c')
-rw-r--r--packet-gsm_sms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-gsm_sms.c b/packet-gsm_sms.c
index ad2f48710d..8700b5606b 100644
--- a/packet-gsm_sms.c
+++ b/packet-gsm_sms.c
@@ -11,7 +11,7 @@
* Technical realization of Short Message Service (SMS)
* (3GPP TS 23.040 version 5.4.0 Release 5)
*
- * $Id: packet-gsm_sms.c,v 1.5 2003/12/08 23:40:13 guy Exp $
+ * $Id: packet-gsm_sms.c,v 1.6 2003/12/11 21:23:36 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1533,7 +1533,7 @@ char_unicode_decode(unsigned char* dest, const unsigned char* src, int len)
for (i = 0; i < len / 2; i++)
{
- length = char_uni_alphabet_decode((src[i * 2] << 8) | src[(i * 2) + 1], dest);
+ length = char_uni_alphabet_decode( (wchar_t) ((src[i * 2] << 8) | src[(i * 2) + 1]), dest);
dest += length;
pos += length;
}