From eb5d87dc982056209e8bd616ed06dfdae73ef6fe Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 17 Sep 2013 22:48:30 +0800 Subject: [PATCH] Kernel - Switched to hex in ASSERTC* because it's cleaner --- KernelLand/Kernel/include/logdebug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KernelLand/Kernel/include/logdebug.h b/KernelLand/Kernel/include/logdebug.h index 63c676a3..4e975fb9 100644 --- a/KernelLand/Kernel/include/logdebug.h +++ b/KernelLand/Kernel/include/logdebug.h @@ -67,8 +67,8 @@ extern void Debug_HexDump(const char *Header, const void *Data, size_t Length); #define assert(expr) ASSERTV(expr, "") #define ASSERT(expr) ASSERTV(expr, "") #define ASSERTR(expr,rv) ASSERTRV(expr, rv, "") -#define ASSERTC(l,rel,r) ASSERTV(l rel r, ": %i"#rel"%i", l, r) -#define ASSERTCR(l,rel,r,rv) ASSERTRV(l rel r, rv, ": %i"#rel"%i", l, r) +#define ASSERTC(l,rel,r) ASSERTV(l rel r, ": 0x%x"#rel"0x%x", l, r) +#define ASSERTCR(l,rel,r,rv) ASSERTRV(l rel r, rv, ": 0x%x"#rel"0x%x", l, r) /** * \} */ -- 2.20.1