summaryrefslogtreecommitdiff
path: root/regs.pl
diff options
context:
space:
mode:
authorKeith Kanios <spook@dynatos.net>2007-04-13 16:47:53 +0000
committerKeith Kanios <spook@dynatos.net>2007-04-13 16:47:53 +0000
commita6dfa78b7805673b2b4955a9f34e21825730f79d (patch)
treee92c44a08121248c0789b63d41908b402fcb891e /regs.pl
parent2cc61b34f0bc87010a649159f62d37d5ed529ee4 (diff)
downloadnasm-a6dfa78b7805673b2b4955a9f34e21825730f79d.tar.gz
Fixed distinction between char and int8_t data types.
Diffstat (limited to 'regs.pl')
-rwxr-xr-xregs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regs.pl b/regs.pl
index ff8e6435..ee2e640e 100755
--- a/regs.pl
+++ b/regs.pl
@@ -71,7 +71,7 @@ if ( $fmt eq 'h' ) {
} elsif ( $fmt eq 'c' ) {
# Output regs.c
print "/* automatically generated from $file - do not edit */\n";
- print "static const int8_t *reg_names[] = "; $ch = '{';
+ print "static const char *reg_names[] = "; $ch = '{';
# This one has no dummy entry for 0
foreach $reg ( sort(keys(%regs)) ) {
print "$ch\n \"${reg}\"";