From 9092970b7d100dbdf3da8eb76798ca920ac6d7b1 Mon Sep 17 00:00:00 2001 From: neingeist Date: Sun, 13 Apr 2014 17:38:26 +0200 Subject: [PATCH] c-cast from void* works --- casts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casts.cpp b/casts.cpp index c66afea..91607ef 100644 --- a/casts.cpp +++ b/casts.cpp @@ -64,7 +64,7 @@ int main() { std::cout << "== ccast" << std::endl; ccast(&a); - ccast(&base); + ccast(&base); // XXX actually works! std::cout << "== staticcast" << std::endl; staticcast(&a);