summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/pcm_bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 53b6b6c8..dfdd1ef5 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -224,7 +224,7 @@ static void *playback_hw_thread(void *param)
/* Reset point of reference to avoid too big values
* that wont fit an unsigned int */
- if (delta.tv_sec < UINT_SECS_MAX)
+ if ((unsigned int) delta.tv_sec < UINT_SECS_MAX)
prev_periods = periods;
else {
prev_periods = 0;