summaryrefslogtreecommitdiff
path: root/disas/i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'disas/i386.c')
-rw-r--r--disas/i386.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/disas/i386.c b/disas/i386.c
index 3b006b13e0..dbecf1ffb5 100644
--- a/disas/i386.c
+++ b/disas/i386.c
@@ -4720,7 +4720,8 @@ print_operand_value (char *buf, size_t bufsize, int hex, bfd_vma disp)
buf[0] = '0';
buf[1] = 'x';
snprintf_vma (tmp, sizeof(tmp), disp);
- for (i = 0; tmp[i] == '0' && tmp[i + 1]; i++);
+ for (i = 0; tmp[i] == '0' && tmp[i + 1]; i++) {
+ }
pstrcpy (buf + 2, bufsize - 2, tmp + i);
}
else