From 202dbd1b1faeecdb27ce60b8be697ed9725a4b07 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 15 Sep 1999 03:26:23 +0000 Subject: [PATCH] Use ptrdiff_t for pointer offset. --- servers/slapd/entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index d530e52002..0f7f3d334e 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -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 ); \ -- 2.39.5