aboutsummaryrefslogtreecommitdiff
path: root/opcodes/tic80-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/tic80-dis.c')
-rw-r--r--opcodes/tic80-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/tic80-dis.c b/opcodes/tic80-dis.c
index 09df146..ab3a086 100644
--- a/opcodes/tic80-dis.c
+++ b/opcodes/tic80-dis.c
@@ -87,7 +87,7 @@ print_operand_bitnum (struct disassemble_info *info, long value)
if (tmp != NULL)
(*info->fprintf_func) (info->stream, "%s", tmp);
else
- (*info->fprintf_func) (info->stream, "%ld", bitnum);
+ (*info->fprintf_func) (info->stream, "%d", bitnum);
}
/* Print the operand as directed by the flags. */