mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Use ptrdiff_t for pointer offset.
This commit is contained in:
parent
fc10815fc8
commit
202dbd1b1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue