diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-27 16:14:18 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-27 16:14:18 -0700 |
commit | 4a5a6dfed023c6935ddc949a331e7e4187da3e53 (patch) | |
tree | 8f1d0324ca0fa4b9749b5a2919bd8d28873e35ab | |
parent | 18f48793a9506133aedce5fdbd5667e16f372840 (diff) | |
download | nasm-4a5a6dfed023c6935ddc949a331e7e4187da3e53.tar.gz |
assemble.c: stylistic nitpick
Fix stylistic nitpick
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | assemble.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |