From d36e6b95c0432eb0d2a410456aa96045deb3f811 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Feb 2011 18:47:13 +0000 Subject: [PATCH] GCC 4.6 fixes from oget (#3771). git-svn-id: svn://localhost/ardour2/branches/3.0@8835 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/rubberband/rubberband/RubberBandStretcher.h | 1 + libs/surfaces/wiimote/wiimote.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/rubberband/rubberband/RubberBandStretcher.h b/libs/rubberband/rubberband/RubberBandStretcher.h index 1e676f229d..48343c70c9 100644 --- a/libs/rubberband/rubberband/RubberBandStretcher.h +++ b/libs/rubberband/rubberband/RubberBandStretcher.h @@ -19,6 +19,7 @@ #define RUBBERBAND_API_MAJOR_VERSION 2 #define RUBBERBAND_API_MINOR_VERSION 0 +#include #include /** diff --git a/libs/surfaces/wiimote/wiimote.cc b/libs/surfaces/wiimote/wiimote.cc index 867e1c38e4..26f7e1810f 100644 --- a/libs/surfaces/wiimote/wiimote.cc +++ b/libs/surfaces/wiimote/wiimote.cc @@ -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); -- 2.30.2