aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-01 14:24:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-01 14:24:23 -0700
commitd6c829e542f6eaea9b750bc05439b2213604ba82 (patch)
tree74b392ce6dc6d2a61729d68fb974f1666463ba85
parent4f681e7863bf5b9b18f823c7d9858ff70b139280 (diff)
downloadsyslinux-elf-d6c829e542f6eaea9b750bc05439b2213604ba82.tar.gz
syslinux-elf-d6c829e542f6eaea9b750bc05439b2213604ba82.tar.xz
syslinux-elf-d6c829e542f6eaea9b750bc05439b2213604ba82.zip
core/rllpack.c: fix some particular bad formatting
indent doesn't always do the right thing... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/rllpack.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/rllpack.c b/core/rllpack.c
index 8635186d..bb9f046c 100644
--- a/core/rllpack.c
+++ b/core/rllpack.c
@@ -40,7 +40,7 @@ void rllpack(com32sys_t * regs)
uint8_t *hdr = NULL;
uint8_t c;
- vrun = (size_t) - 1;
+ vrun = (size_t)-1;
while (cnt) {
c = *i;
@@ -66,15 +66,15 @@ void rllpack(com32sys_t * regs)
*(uint16_t *) o = run + (224 << 8);
}
*--o = c;
- vrun = (size_t) - 1;
+ vrun = (size_t)-1;
i += run;
cnt -= run;
}
}
*--o = 0;
- regs->esi.l = (size_t) i;
- regs->edi.l = (size_t) o;
+ regs->esi.l = (size_t)i;
+ regs->edi.l = (size_t)o;
}
void rllunpack(com32sys_t * regs)
@@ -99,7 +99,7 @@ void rllunpack(com32sys_t * regs)
}
}
- regs->esi.l = (size_t) i;
- regs->ecx.l = (size_t) o - regs->edi.l;
- regs->edi.l = (size_t) o;
+ regs->esi.l = (size_t)i;
+ regs->ecx.l = (size_t)o - regs->edi.l;
+ regs->edi.l = (size_t)o;
}