X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flber_types.nt;h=4dfbecf510489eb56c5c980d32219bea5bf7c74c;hb=f72dbc212fb1621896af98592567f87f003a3a72;hp=26478ac6159b21461aee2207144de40b10bab0fc;hpb=45faac4dc12a81c641d6b2bb0af8ced3324d5bbb;p=openldap diff --git a/include/lber_types.nt b/include/lber_types.nt index 26478ac615..4dfbecf510 100644 --- a/include/lber_types.nt +++ b/include/lber_types.nt @@ -1,6 +1,6 @@ /* $OpenLDAP$ */ /* - * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA + * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA * All rights reserved. * * Redistribution and use in source and binary forms are permitted only @@ -26,7 +26,7 @@ LDAP_BEGIN_DECL * * bitsof(short) == 2 * bitsof(int) == 4 - * bitsof(long) == 4 + * bitsof(long) == 4 (or larger) * * typedef unsigned int size_t; * typedef unsigned int SOCKET; @@ -44,7 +44,7 @@ LDAP_BEGIN_DECL #define LBER_SOCKET_T unsigned int /* LBER lengths - 32 bits or larger*/ -#define LBER_LEN_T int +#define LBER_LEN_T long /* ------------------------------------------------------------ */