What about:
Index: packet-x11.c
===================================================================
RCS file: /cvsroot/ethereal/packet-x11.c,v
retrieving revision 1.32
diff -u -r1.32 packet-x11.c
--- packet-x11.c        2002/04/11 09:38:03     1.32
+++ packet-x11.c        2002/04/11 18:48:07
@@ -1271,7 +1271,7 @@
 static guint32 field16(tvbuff_t *tvb, proto_tree *t, int hf)
 {
       guint32 v = VALUE16(tvb, cur_offset);
-      proto_tree_add_item(t, hf, tvb, cur_offset, 2, v);
+      proto_tree_add_item(t, hf, tvb, cur_offset, 2, little_endian);
       cur_offset += 2;
       return v;
 }

Reply via email to