aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/details/unused.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/details/unused.hxx b/odb/details/unused.hxx
index 43cfee0..bf1638f 100644
--- a/odb/details/unused.hxx
+++ b/odb/details/unused.hxx
@@ -8,7 +8,7 @@
#include <odb/pre.hxx>
-#define ODB_POTENTIALLY_UNUSED(x) (void)x
+#define ODB_POTENTIALLY_UNUSED(x) (void*)&x
#include <odb/post.hxx>