aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1/asn1.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-23 23:47:41 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-23 23:47:41 +0000
commit43a98f8fb8e965951ec1c7e9a0ef78a56ebb3d22 (patch)
treea98c6e8affc1bed408287ec6b541c7ad45a50ebb /plugins/asn1/asn1.c
parent2896811274e430759305c7f25889cb0214213409 (diff)
From Sebastien Tandel:
fixes gcc warnings and get rid of declaration after statements svn path=/trunk/; revision=21159
Diffstat (limited to 'plugins/asn1/asn1.c')
-rw-r--r--plugins/asn1/asn1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/asn1/asn1.c b/plugins/asn1/asn1.c
index b99278c6b2..394d14b63a 100644
--- a/plugins/asn1/asn1.c
+++ b/plugins/asn1/asn1.c
@@ -316,7 +316,8 @@ asn1_header_decode(ASN1_SCK *asn1, guint *cls, guint *con, guint *tag,
gboolean *defp, guint *lenp)
{
int ret;
- guint def, len = 0;
+ guint len = 0;
+ gboolean def;
ret = asn1_id_decode (asn1, cls, con, tag);
if (ret != ASN1_ERR_NOERROR)
@@ -781,7 +782,7 @@ asn1_string_decode ( ASN1_SCK *asn1, guchar **octets, guint *str_len,
{
int ret;
int start;
- int enc_len;
+ guint enc_len;
guint cls;
guint con;
guint tag;