Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] patch for packet-3g-a11.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Fri, 05 Mar 2004 21:02:24 +0100
Hello,

packet-3g-a11.c has to be fixed to compile with MSVC.

Patch is attached. Please check in.

Regards,

Lars
Index: packet-3g-a11.c
===================================================================
RCS file: /cvsroot/ethereal/packet-3g-a11.c,v
retrieving revision 1.1
diff -u -r1.1 packet-3g-a11.c
--- packet-3g-a11.c	5 Mar 2004 10:56:15 -0000	1.1
+++ packet-3g-a11.c	5 Mar 2004 19:55:13 -0000
@@ -435,7 +435,7 @@
   guint8        ext_subtype=0;
   size_t        hdrLen;
 
-  u_int16_t     apptype = -1;
+  gint16     apptype = -1;
 
   /* None of this really matters if we don't have a tree */
   if (!tree) return;