sync.c: change ULONG_MAX to UINT32_MAX

The value returned is uint32_t, not unsigned long.  This creates a
warning when compiling on 64-bit machines.
This commit is contained in:
H. Peter Anvin 2007-08-20 20:10:04 +00:00
parent ea8a28253b
commit fc918885e0

2
sync.c
View File

@ -108,6 +108,6 @@ uint32_t next_sync(uint32_t position, uint32_t *length)
} else {
if (length)
*length = 0L;
return ULONG_MAX;
return UINT32_MAX;
}
}