diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-06 02:42:00 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 01:17:39 -0500 |
commit | 95e40d770e95c0d5317c2566a7976bd3421f380a (patch) | |
tree | ee409c8b3279492f88f1b3b5e675e86d254b899d /sim/ppc/corefile.c | |
parent | e4c803f5bb08e946f0550260b39f71eff0192262 (diff) | |
download | gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.zip gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.gz gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.bz2 |
sim: ppc: migrate to standard uintXX_t types
Drop the sim-specific unsignedXX types and move to the standard uintXX_t
types that C11 provides.
Diffstat (limited to 'sim/ppc/corefile.c')
-rw-r--r-- | sim/ppc/corefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/corefile.c b/sim/ppc/corefile.c index ac8aa5d..1b3eeef 100644 --- a/sim/ppc/corefile.c +++ b/sim/ppc/corefile.c @@ -227,7 +227,7 @@ core_attach(core *memory, if (attach == attach_raw_memory) { /* Padd out the raw buffer to ensure that ADDR starts on a correctly aligned boundary */ - int padding = (addr % sizeof (unsigned64)); + int padding = (addr % sizeof (uint64_t)); free_buffer = zalloc(nr_bytes + padding); buffer = (char*)free_buffer + padding; } |