aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x11.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-04-02 15:18:03 +0000
committerBill Meier <wmeier@newsguy.com>2010-04-02 15:18:03 +0000
commitd32b4c0758a882eec5ebe21eef545ba19572e09d (patch)
treee436a37f3b44b4a32442fadf334ff9b1280130a3 /epan/dissectors/packet-x11.c
parent049f9eac856bba91850332e90033be56dfa87f37 (diff)
Revert SVN #32360 until Windows compilation errors corrected.
svn path=/trunk/; revision=32361
Diffstat (limited to 'epan/dissectors/packet-x11.c')
-rw-r--r--epan/dissectors/packet-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-x11.c b/epan/dissectors/packet-x11.c
index 33f70ab443..da3d6af80b 100644
--- a/epan/dissectors/packet-x11.c
+++ b/epan/dissectors/packet-x11.c
@@ -2621,7 +2621,7 @@ static int rounded4(int n)
/* We assume the order to be consistent, until proven wrong. */
-static gboolean consistentWithOrder(int length, tvbuff_t *tvb, int offset, guint16 (*v16)(tvbuff_t *, const gint))
+static gboolean consistentWithOrder(int length, tvbuff_t *tvb, int offset, guint16 (*v16)(tvbuff_t *, gint))
{
switch(tvb_get_guint8(tvb, offset)) {
case X_CreateWindow:
@@ -2837,7 +2837,7 @@ static gboolean consistentWithOrder(int length, tvbuff_t *tvb, int offset, guint
/* -1 means doesn't match, +1 means match, 0 means don't know */
-static int x_endian_match(tvbuff_t *tvb, guint16 (*v16)(tvbuff_t *, const gint))
+static int x_endian_match(tvbuff_t *tvb, guint16 (*v16)(tvbuff_t *, gint))
{
int offset, nextoffset;
int atLeastOne = 0;