]> git.sur5r.net Git - openldap/blobdiff - include/lber_types.nt
Only set URANDOM_DEVICE if undef
[openldap] / include / lber_types.nt
index 26478ac6159b21461aee2207144de40b10bab0fc..9b04d5c76eef771f06697b6bdbb51f8c2908fbeb 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 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
 
 /* ------------------------------------------------------------ */