diff options
Diffstat (limited to 'sim/ppc/registers.c')
-rw-r--r-- | sim/ppc/registers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/registers.c b/sim/ppc/registers.c index 2bab55a..0ebb2a7 100644 --- a/sim/ppc/registers.c +++ b/sim/ppc/registers.c @@ -155,7 +155,7 @@ register_description(const char reg[]) else if (reg[0] == 'e' && reg[1] == 'v' && are_digits(reg + 2)) { description.type = reg_evr; description.index = atoi(reg+2); - description.size = sizeof(unsigned64); + description.size = sizeof(uint64_t); } else if (reg[0] == 'r' && reg[1] == 'h' && are_digits(reg + 2)) { description.type = reg_gprh; @@ -165,7 +165,7 @@ register_description(const char reg[]) else if (!strcmp(reg, "acc")) { description.type = reg_acc; description.index = 0; - description.size = sizeof(unsigned64); + description.size = sizeof(uint64_t); } #endif else { |