diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index fadfa5403..96b95b4fc 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -462,7 +462,7 @@ static int setup_a2dp(struct userdata *u) { } } - pa_assert(i < PA_ELEMENTSOF(freq_table)); + pa_assert((unsigned) i < PA_ELEMENTSOF(freq_table)); if (cap->capability.configured) return 0;