diff options
-rw-r--r-- | plugins/aac/aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c index b2b79f1c..f69fff6c 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -914,7 +914,7 @@ seek_raw_aac (aac_info_t *info, int sample) { else { //trace ("aac: frame #%d(%d/%d) sync: %d %d %d %d %d\n", frame, curr_sample, sample, channels, samplerate, bitrate, frame_samples, size); frame++; - if (deadbeef->fseek (info->file, size-sizeof(buf), SEEK_CUR) == -1) { + if (deadbeef->fseek (info->file, size-(int)sizeof(buf), SEEK_CUR) == -1) { trace ("seek_raw_aac: invalid seek %d\n", size-sizeof(buf)); break; } |