aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/hw_sem.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-06 02:42:00 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:39 -0500
commit95e40d770e95c0d5317c2566a7976bd3421f380a (patch)
treeee409c8b3279492f88f1b3b5e675e86d254b899d /sim/ppc/hw_sem.c
parente4c803f5bb08e946f0550260b39f71eff0192262 (diff)
downloadbinutils-95e40d770e95c0d5317c2566a7976bd3421f380a.zip
binutils-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.gz
binutils-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/hw_sem.c')
-rw-r--r--sim/ppc/hw_sem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/hw_sem.c b/sim/ppc/hw_sem.c
index 5f35952..937e2ad 100644
--- a/sim/ppc/hw_sem.c
+++ b/sim/ppc/hw_sem.c
@@ -187,7 +187,7 @@ hw_sem_io_read_buffer(device *me,
hw_sem_device *sem = (hw_sem_device*)device_data(me);
struct sembuf sb;
int status;
- unsigned32 u32;
+ uint32_t u32;
union semun help;
/* do we need to worry about out of range addresses? */