aboutsummaryrefslogtreecommitdiff
path: root/disas/nanomips.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2018-12-27 17:56:04 +0100
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-01-03 17:52:52 +0100
commit8c33ea59bb5b2857f19281d46c4d0327645429a4 (patch)
treeb951a55649637c100182f452e187069a81a73470 /disas/nanomips.h
parenta95c4c26f1dc233987350e7cb1cf62d46ade5ce5 (diff)
downloadqemu-8c33ea59bb5b2857f19281d46c4d0327645429a4.zip
qemu-8c33ea59bb5b2857f19281d46c4d0327645429a4.tar.gz
qemu-8c33ea59bb5b2857f19281d46c4d0327645429a4.tar.bz2
disas: nanoMIPS: Fix types and format strings
Use POSIX types and format strings. Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'disas/nanomips.h')
-rw-r--r--disas/nanomips.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/disas/nanomips.h b/disas/nanomips.h
index 84cc9a6..71428b3 100644
--- a/disas/nanomips.h
+++ b/disas/nanomips.h
@@ -24,14 +24,14 @@
#include <string>
-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;
}