[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 951fab: target-mips: fix get_physical_address
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 951fab: target-mips: fix get_physical_address() #if 0 buil... |
Date: |
Wed, 28 Aug 2013 14:30:06 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 951fab990db05d47ab9da5e72521e406c73a3eb9
https://github.com/qemu/qemu/commit/951fab990db05d47ab9da5e72521e406c73a3eb9
Author: James Hogan <address@hidden>
Date: 2013-08-28 (Wed, 28 Aug 2013)
Changed paths:
M target-mips/helper.c
Log Message:
-----------
target-mips: fix get_physical_address() #if 0 build error
In get_physical_address() is a qemu_log() call inside an #if 0 block.
When enabled the following build error is hit:
target-mips/helper.c In function ‘get_physical_address’:
target-mips/helper.c:220:13: error: format ‘%x’ expects argument of type
‘unsigned int’, but argument 5 has type ‘hwaddr’ [-Werror=format]
Fix the *physical (hwaddr) formatting by using "%"HWADDR_PRIx instead of
TARGET_FMT_lx.
Signed-off-by: James Hogan <address@hidden>
Cc: Aurelien Jarno <address@hidden>
Signed-off-by: Yongbok Kim <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 951fab: target-mips: fix get_physical_address() #if 0 buil...,
GitHub <=