Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX

throughout, except in assembler code.
This commit is contained in:
Corinna Vinschen
2003-12-03 16:35:52 +00:00
parent d2fa946e51
commit 145b4dc249
11 changed files with 21 additions and 16 deletions

View File

@ -506,9 +506,9 @@ dup_ent (void *old, void *src0, struct_type type)
{
/* Windows 95 idiocy. Structure is misaligned on Windows 95.
Kludge around this by trying a different pointer alignment. */
if (!IsBadStringPtr (src->s_proto, 0x7fffffff))
if (!IsBadStringPtr (src->s_proto, INT32_MAX))
s_proto = src->s_proto;
else if (!IsBadStringPtr (((pservent *) src)->s_proto, 0x7fffffff))
else if (!IsBadStringPtr (((pservent *) src)->s_proto, INT32_MAX))
s_proto = ((pservent *) src)->s_proto;
sz += (protolen = strlen_round (s_proto));
}