diff --git a/lib/modules/Calendar.pmod/Timezone.pmod b/lib/modules/Calendar.pmod/Timezone.pmod index b1357c58dfc2f4d58cce4d4bbc3d8d335e2b55d1..7f02cb4d08286b37a94bc64396549fd87abae531 100644 --- a/lib/modules/Calendar.pmod/Timezone.pmod +++ b/lib/modules/Calendar.pmod/Timezone.pmod @@ -574,7 +574,7 @@ class Runtime_timezone_compiler array sr=({}); - int y,mn=min(@indices(rules-(<NUL_YEAR>))); + int mn=min(@indices(rules-(<NUL_YEAR>))); for (y=INF_YEAR;sizeof(r2);y--) if (r2[y]) @@ -710,7 +710,7 @@ class Runtime_timezone_compiler if (sizeof(a)<4) complain("parse error\n"); - array a=({parse_offset(a[0]), // offset + a=({parse_offset(a[0]), // offset a[1], // rule or added offset a[2], // string a[3], diff --git a/lib/modules/Protocols.pmod/LDAP.pmod/ldap_privates.pmod b/lib/modules/Protocols.pmod/LDAP.pmod/ldap_privates.pmod index 316629242a74273473ca93921eb53835606b6d22..5be60addb886de6fa1e0973a090b65ad104a15b3 100644 --- a/lib/modules/Protocols.pmod/LDAP.pmod/ldap_privates.pmod +++ b/lib/modules/Protocols.pmod/LDAP.pmod/ldap_privates.pmod @@ -1,6 +1,6 @@ // LDAP client protocol implementation for Pike. // -// $Id: ldap_privates.pmod,v 1.3 1999/08/25 05:04:32 hubbe Exp $ +// $Id: ldap_privates.pmod,v 1.4 2000/09/05 15:06:09 per Exp $ // // Honza Petrous, hop@unibase.cz // @@ -174,7 +174,7 @@ object|mapping der_decode(object data, mapping types) if ( (raw_tag & 0x1f) == 0x1f) error("ASN1.Decode: High tag numbers is not supported\n"); - int len = data->get_uint(1); + len = data->get_uint(1); if (len & 0x80) len = data->get_uint(len & 0x7f); diff --git a/lib/modules/Standards.pmod/ASN1.pmod/Decode.pmod b/lib/modules/Standards.pmod/ASN1.pmod/Decode.pmod index 4c5df32ae8c0ecd3046a40a12b52e8e352d1cd7e..92a64856b611009bb0303b4b35b64447d09c75a5 100644 --- a/lib/modules/Standards.pmod/ASN1.pmod/Decode.pmod +++ b/lib/modules/Standards.pmod/ASN1.pmod/Decode.pmod @@ -78,7 +78,7 @@ object|mapping der_decode(object data, mapping types) if ( (raw_tag & 0x1f) == 0x1f) error("ASN1.Decode: High tag numbers is not supported\n"); - int len = data->get_uint(1); + len = data->get_uint(1); if (len & 0x80) len = data->get_uint(len & 0x7f); @@ -173,4 +173,4 @@ object|mapping simple_der_decode(string data) return der_decode(ADT.struct(data), universal_types); } -#endif \ No newline at end of file +#endif