diff options
Diffstat (limited to 'sound/pci/rme9652/rme9652.c')
-rw-r--r-- | sound/pci/rme9652/rme9652.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index bd7dbd267ed1..2de27405a0bd 100644 --- a/sound/pci/rme9652/rme9652.c +++ b/sound/pci/rme9652/rme9652.c | |||
@@ -406,7 +406,7 @@ static snd_pcm_uframes_t rme9652_hw_pointer(struct snd_rme9652 *rme9652) | |||
406 | } else if (!frag) | 406 | } else if (!frag) |
407 | return 0; | 407 | return 0; |
408 | offset -= rme9652->max_jitter; | 408 | offset -= rme9652->max_jitter; |
409 | if (offset < 0) | 409 | if ((int)offset < 0) |
410 | offset += period_size * 2; | 410 | offset += period_size * 2; |
411 | } else { | 411 | } else { |
412 | if (offset > period_size + rme9652->max_jitter) { | 412 | if (offset > period_size + rme9652->max_jitter) { |