From 0fd353341acd62d52e5baa6fbf3f9100f24202c1 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 6 Aug 2010 11:08:11 -0700 Subject: [PATCH] Revert "remove compiler warning on 32-bit systems" This reverts commit 80819cc01e1702275cd5672460edcdc1dd1f799c. --- lib/libspl/include/assert.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libspl/include/assert.h b/lib/libspl/include/assert.h index 9073b41f3a..ace72fb35b 100644 --- a/lib/libspl/include/assert.h +++ b/lib/libspl/include/assert.h @@ -69,8 +69,7 @@ extern void __assert(const char *, const char *, int); char *__buf = alloca(256); \ (void) snprintf(__buf, 256, "%s %s %s (0x%llx %s 0x%llx)", \ #LEFT, #OP, #RIGHT, \ - (u_longlong_t)((TYPE)(LEFT)), #OP, \ - (u_longlong_t)((TYPE)(RIGHT))); \ + (u_longlong_t)(LEFT), #OP, (u_longlong_t)(RIGHT)); \ __assert(__buf, __FILE__, __LINE__); \ } \ } while (0)