diff --git a/source/libjack/libjack_metadata.cpp b/source/libjack/libjack_metadata.cpp index b950a2892..735648200 100644 --- a/source/libjack/libjack_metadata.cpp +++ b/source/libjack/libjack_metadata.cpp @@ -149,6 +149,10 @@ int jack_uuid_parse(const char*, jack_uuid_t*) CARLA_EXPORT void jack_uuid_unparse(jack_uuid_t, char buf[JACK_UUID_STRING_SIZE]) { + return; + + // unused + (void)buf; } CARLA_EXPORT diff --git a/source/libjack/ringbuffer.c b/source/libjack/ringbuffer.c index a6ea7b5de..5266aa16a 100644 --- a/source/libjack/ringbuffer.c +++ b/source/libjack/ringbuffer.c @@ -67,16 +67,16 @@ size_t jack_ringbuffer_write_space(const jack_ringbuffer_t *rb); CARLA_EXPORT jack_ringbuffer_t * jack_ringbuffer_create (size_t sz) { - int power_of_two; + unsigned int power_of_two; jack_ringbuffer_t *rb; if ((rb = (jack_ringbuffer_t *) malloc (sizeof (jack_ringbuffer_t))) == NULL) { return NULL; } - for (power_of_two = 1; 1 << power_of_two < sz; power_of_two++); + for (power_of_two = 1U; 1U << power_of_two < sz; power_of_two++); - rb->size = 1 << power_of_two; + rb->size = 1U << power_of_two; rb->size_mask = rb->size; rb->size_mask -= 1; rb->write_ptr = 0; diff --git a/source/theme/CarlaStyle.cpp b/source/theme/CarlaStyle.cpp index 728f34b63..105a20a5c 100644 --- a/source/theme/CarlaStyle.cpp +++ b/source/theme/CarlaStyle.cpp @@ -36,6 +36,8 @@ # include # include # include +# define QStyleOptionFrameV3 QStyleOptionFrame +# define QStyleOptionProgressBarV2 QStyleOptionProgressBar #else # include # include