]> git.sur5r.net Git - openldap/commitdiff
Use ptrdiff_t for pointer offset.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 15 Sep 1999 03:26:23 +0000 (03:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 15 Sep 1999 03:26:23 +0000 (03:26 +0000)
servers/slapd/entry.c

index d530e5200228849182b00b1d9b62a517cffde814..0f7f3d334e8fa804ad8ce8d3db5358a178b50b69 100644 (file)
@@ -167,7 +167,7 @@ str2entry( char *s )
 
 #define MAKE_SPACE( n )        { \
                while ( ecur + (n) > ebuf + emaxsize ) { \
-                       int     offset; \
+                       ptrdiff_t       offset; \
                        offset = (int) (ecur - ebuf); \
                        ebuf = (unsigned char *) ch_realloc( (char *) ebuf, \
                            emaxsize + GRABSIZE ); \