assemble.c: stylistic nitpick
authorH. Peter Anvin <hpa@zytor.com>
Sat, 27 Jun 2009 23:14:18 +0000 (16:14 -0700)
committerH. 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

index 928dab6..535c49c 100644 (file)
@@ -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