[OpenBIOS] [PATCH 16/16] Fix the FMT_cell and FMT_ucell definitions for SPARC32.
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Thu Dec 30 19:07:19 CET 2010
This is required to enable a build with CONFIG_DEBUG_OFMEM set to true to complete successfully.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>
---
openbios-devel/include/arch/sparc32/types.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/openbios-devel/include/arch/sparc32/types.h b/openbios-devel/include/arch/sparc32/types.h
index 444d648..e4f0f0d 100644
--- a/openbios-devel/include/arch/sparc32/types.h
+++ b/openbios-devel/include/arch/sparc32/types.h
@@ -46,8 +46,8 @@ typedef uint32_t ucell;
typedef long long dcell;
typedef unsigned long long ducell;
-#define FMT_cell "%ld"
-#define FMT_ucell "%lu"
+#define FMT_cell "%d"
+#define FMT_ucell "%u"
#define FMT_ucellx "%08x"
#define FMT_ucellX "%08X"
--
1.7.2.3
More information about the OpenBIOS
mailing list