From: John Hodge Date: Tue, 17 Sep 2013 14:48:30 +0000 (+0800) Subject: Kernel - Switched to hex in ASSERTC* because it's cleaner X-Git-Tag: rel0.15~204 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=eb5d87dc982056209e8bd616ed06dfdae73ef6fe;p=tpg%2Facess2.git Kernel - Switched to hex in ASSERTC* because it's cleaner --- 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) /** * \} */