GCC 4.6 fixes from oget (#3771).
authorCarl Hetherington <carl@carlh.net>
Sun, 13 Feb 2011 18:47:13 +0000 (18:47 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 13 Feb 2011 18:47:13 +0000 (18:47 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8835 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/rubberband/rubberband/RubberBandStretcher.h
libs/surfaces/wiimote/wiimote.cc

index 1e676f229d0c2c6379558f6e572208c305dfdfe9..48343c70c96ca840e78febb764c141e60753aa68 100644 (file)
@@ -19,6 +19,7 @@
 #define RUBBERBAND_API_MAJOR_VERSION 2
 #define RUBBERBAND_API_MINOR_VERSION 0
 
+#include <cstddef>
 #include <vector>
 
 /**
index 867e1c38e4385ed07cfad5776508123da61a3585..26f7e1810f58103c4d6461ff60669f0a96127f4a 100644 (file)
@@ -178,7 +178,7 @@ wiimote_discovery:
        std::cerr << "Wiimote: discovering, press 1+2" << std::endl;
 
        while (!wiimote_handle && !main_thread_quit) {
-               bdaddr = *BDADDR_ANY;
+               bdaddr = (bdaddr_t) {{0, 0, 0, 0, 0, 0}};
                callback_thread_registered_for_ardour = false;
                wiimote_handle = cwiid_open(&bdaddr, 0);