From 4a5a6dfed023c6935ddc949a331e7e4187da3e53 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 27 Jun 2009 16:14:18 -0700 Subject: [PATCH] assemble.c: stylistic nitpick Fix stylistic nitpick Signed-off-by: H. Peter Anvin --- assemble.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assemble.c b/assemble.c index 928dab6d..535c49c0 100644 --- 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 -- 2.11.4.GIT