projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea8a282
)
sync.c: change ULONG_MAX to UINT32_MAX
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 20 Aug 2007 20:10:04 +0000
(20:10 +0000)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 20 Aug 2007 20:10:04 +0000
(20:10 +0000)
The value returned is uint32_t, not unsigned long. This creates a
warning when compiling on 64-bit machines.
sync.c
patch
|
blob
|
history
diff --git
a/sync.c
b/sync.c
index
fefdd86
..
88d882a
100644
(file)
--- a/
sync.c
+++ b/
sync.c
@@
-108,6
+108,6
@@
uint32_t next_sync(uint32_t position, uint32_t *length)
} else {
if (length)
*length = 0L;
- return U
LONG
_MAX;
+ return U
INT32
_MAX;
}
}