aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-09 22:57:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-09 22:57:52 +0000
commit3937e6b70e7fc34c6b831013816ce73c2400c6fe (patch)
tree61514868c6ab1171852b80ba7e6f4c869f6e802b
parentd2144984dbd91247e0a804f0b037c2d42c6e9267 (diff)
Fix the type of the "integer" argument to "asn1_uint32_value_decode()",
as per a note by Michael Lum. svn path=/trunk/; revision=8924
-rw-r--r--asn1.c4
-rw-r--r--asn1.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/asn1.c b/asn1.c
index 0b86c9ea30..6fad37d4ea 100644
--- a/asn1.c
+++ b/asn1.c
@@ -1,7 +1,7 @@
/* asn1.c
* Routines for ASN.1 BER dissection
*
- * $Id: asn1.c,v 1.22 2003/10/02 06:13:27 guy Exp $
+ * $Id: asn1.c,v 1.23 2003/11/09 22:57:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -556,7 +556,7 @@ done:
* RETURNS: ASN1_ERR value (ASN1_ERR_NOERROR on success)
*/
int
-asn1_uint32_value_decode ( ASN1_SCK *asn1, int enc_len, guint *integer)
+asn1_uint32_value_decode ( ASN1_SCK *asn1, int enc_len, guint32 *integer)
{
int ret;
int eoc;
diff --git a/asn1.h b/asn1.h
index cbb5ef727c..87c23c60e8 100644
--- a/asn1.h
+++ b/asn1.h
@@ -1,7 +1,7 @@
/* asn1.h
* Definitions for ASN.1 BER dissection
*
- * $Id: asn1.h,v 1.14 2003/10/02 06:13:28 guy Exp $
+ * $Id: asn1.h,v 1.15 2003/11/09 22:57:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -128,7 +128,7 @@ extern int asn1_int32_value_decode (ASN1_SCK *asn1, int enc_len,
gint32 *integer);
extern int asn1_int32_decode (ASN1_SCK *asn1, gint32 *integer, guint *nbytes);
extern int asn1_uint32_value_decode (ASN1_SCK *asn1, int enc_len,
- guint *integer);
+ guint32 *integer);
extern int asn1_uint32_decode (ASN1_SCK *asn1, guint32 *integer, guint *nbytes);
extern int asn1_bits_decode (ASN1_SCK *asn1, int enc_len, guchar **bits,
guint *len, guchar *unused);