From 067c9eb9a9c8c2e8bf80565952a266b0cdb49188 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 9 Sep 2014 06:39:00 +0000 Subject: Tue Sep 9 06:41:24 UTC 2014 Johnny Willemsen * ASNMP/asnmp/asn1.cpp: Use ACE_REGISTER * ace/CDR_Base.h: Add missing include for ACE_REGISTER * contrib/minizip/unzip.c: * contrib/minizip/zip.c: Fix clang warnings --- ACE/ASNMP/asnmp/asn1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ACE/ASNMP') diff --git a/ACE/ASNMP/asnmp/asn1.cpp b/ACE/ASNMP/asnmp/asn1.cpp index 8352fc4bf07..cff6f6d124d 100644 --- a/ACE/ASNMP/asnmp/asn1.cpp +++ b/ACE/ASNMP/asnmp/asn1.cpp @@ -50,6 +50,7 @@ #include "asnmp/asn1.h" #include "asnmp/snmp.h" #include "ace/OS_NS_string.h" +#include "ace/Global_Macros.h" /* * parse_int - pulls a long out of an ASN int type. @@ -375,7 +376,7 @@ u_char *asn1::parse_header( u_char *data, { ACE_TRACE("asn1::parse_header"); u_char *bufp = data; - register int header_len; + ACE_REGISTER int header_len; u_long asn_length; /* this only works on data types < 30, i.e. no extension octets */ -- cgit v1.2.1