From 8c33ea59bb5b2857f19281d46c4d0327645429a4 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 27 Dec 2018 17:56:04 +0100 Subject: disas: nanoMIPS: Fix types and format strings Use POSIX types and format strings. Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Signed-off-by: Stefan Weil --- disas/nanomips.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'disas/nanomips.h') diff --git a/disas/nanomips.h b/disas/nanomips.h index 84cc9a6dfc..71428b3aba 100644 --- a/disas/nanomips.h +++ b/disas/nanomips.h @@ -24,14 +24,14 @@ #include -typedef unsigned short uint16; -typedef unsigned int uint32; -typedef long long int64; -typedef unsigned long long uint64; +typedef int64_t int64; +typedef uint64_t uint64; +typedef uint32_t uint32; +typedef uint16_t uint16; namespace img { - typedef unsigned long long address; + typedef uint64_t address; } -- cgit v1.2.3