(svn r3457) -Fix: killed some warnings about strict-alias in an ugly way (but it works ;))
--- a/driver.c Sat Jan 28 10:16:15 2006 +0000
+++ b/driver.c Sat Jan 28 11:08:07 2006 +0000
@@ -40,7 +40,7 @@
} DriverClass;
-#define M(x, y, z) { x, y, (const HalCommonDriver*)z }
+#define M(x, y, z) { x, y, (const HalCommonDriver *)(void *)z }
static const DriverDesc _music_driver_descs[] = {
#ifdef __BEOS__
M("bemidi", "BeOS MIDI Driver", &_bemidi_music_driver),
@@ -99,7 +99,7 @@
#undef M
-#define M(x, y, z) { x, y, (const HalCommonDriver**)z }
+#define M(x, y, z) { x, y, (const HalCommonDriver **)(void *)z }
static const DriverClass _driver_classes[] = {
M(_video_driver_descs, "video", &_video_driver),
M(_sound_driver_descs, "sound", &_sound_driver),