warning: overflow in implicit constant conversion
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 21 Dec 2003 12:07:09 +0000 (12:07 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 21 Dec 2003 12:07:09 +0000 (12:07 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9391 f5534014-38df-0310-8fa8-9805f1628bb7

packet-isdn.c

index 5447b8692659eb4e80f96f67d4c6a108e2746e00..e3ef57bf723e50a1fa671adc309a1328bb0868b7 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-isdn.c
  * Routines for ISDN packet disassembly
  *
- * $Id: packet-isdn.c,v 1.4 2003/06/10 05:53:33 guy Exp $
+ * $Id: packet-isdn.c,v 1.5 2003/12/21 12:07:09 jmayer Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -81,8 +81,8 @@ dissect_isdn(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
        proto_tree *isdn_tree;
        proto_item *ti;
-       static const char v120_sabme[3] = { 0x08, 0x01, 0x7F };
-       static const char ppp[2] = { 0xFF, 0x03 };
+       static const guint8 v120_sabme[3] = { 0x08, 0x01, 0x7F };
+       static const guint8 ppp[2] = { 0xFF, 0x03 };
        circuit_t *circuit;
 
        if (check_col(pinfo->cinfo, COL_PROTOCOL))