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:
18f4879
)
assemble.c: stylistic nitpick
author
H. Peter Anvin
<hpa@zytor.com>
Sat, 27 Jun 2009 23:14:18 +0000
(16:14 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Sat, 27 Jun 2009 23:14:18 +0000
(16:14 -0700)
Fix stylistic nitpick
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
assemble.c
patch
|
blob
|
history
diff --git
a/assemble.c
b/assemble.c
index
928dab6
..
535c49c
100644
(file)
--- a/
assemble.c
+++ b/
assemble.c
@@
-415,9
+415,8
@@
int64_t assemble(int32_t segment, int64_t offset, int bits, uint32_t cp,
fseek(fp, base, SEEK_SET);
l = len;
while (l > 0) {
- int32_t m =
- fread(buf, 1, (l > (int32_t) sizeof(buf) ? (int32_t) sizeof(buf) : l),
- fp);
+ int32_t m;
+ m = fread(buf, 1, l > sizeof(buf) ? sizeof(buf) : l, fp);
if (!m) {
/*
* This shouldn't happen unless the file