diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-08-20 20:10:04 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-08-20 20:10:04 +0000 |
commit | fc918885e03944afe47437c301a28bc1cba24d72 (patch) | |
tree | ef64b641e783857f4446322cf941f704d0ef65e4 /sync.c | |
parent | ea8a28253ba758145abfd952d503c8b13163e9c1 (diff) | |
download | nasm-fc918885e03944afe47437c301a28bc1cba24d72.tar.gz nasm-fc918885e03944afe47437c301a28bc1cba24d72.tar.bz2 nasm-fc918885e03944afe47437c301a28bc1cba24d72.zip |
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.
Diffstat (limited to 'sync.c')
-rw-r--r-- | sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |