aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2007-04-22 15:22:53 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2007-04-22 15:22:53 +0000
commit7a971357527151422aa4fb4ba8004db4a2961455 (patch)
treeca02d61c1ffb8b2eec1fdcc85b116169c5420b28 /epan
parenta265df648d7cd77719df75963b9560f177933a75 (diff)
GString.len has changed signednedd between gtk1 and gtk2
this will hopefully again compile under both gtk1 and 2 svn path=/trunk/; revision=21499
Diffstat (limited to 'epan')
-rw-r--r--epan/crypt/airpdcap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/crypt/airpdcap.c b/epan/crypt/airpdcap.c
index 8059602bd8..d54331ddc9 100644
--- a/epan/crypt/airpdcap.c
+++ b/epan/crypt/airpdcap.c
@@ -1350,8 +1350,11 @@ parse_key_string(gchar* input_string)
gchar **tokens;
guint n = 0;
- guint i;
-
+#if GTK_MAJOR_VERSION < 2
+ gint i;
+#else
+ gsize i;
+#endif
decryption_key_t *dk;
if(input_string == NULL)