Skip to content

Commit fc94e0f

Browse files
committed
Use sox_uint64_t in sox_mp3seek to avoid compiler warning
1 parent 252b73f commit fc94e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mp3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ static int stopread(sox_format_t * ft)
631631
return SOX_SUCCESS;
632632
}
633633

634-
static int sox_mp3seek(sox_format_t * ft, uint64_t offset)
634+
static int sox_mp3seek(sox_format_t * ft, sox_uint64_t offset)
635635
{
636636
priv_t * p = (priv_t *) ft->priv;
637637
size_t initial_bitrate = p->Frame.header.bitrate;
@@ -955,7 +955,7 @@ static int stopread(sox_format_t * ft)
955955
return SOX_SUCCESS;
956956
}
957957

958-
static int sox_mp3seek(sox_format_t * ft UNUSED, uint64_t offset UNUSED)
958+
static int sox_mp3seek(sox_format_t * ft UNUSED, sox_uint64_t offset UNUSED)
959959
{
960960
lsx_fail("Seeking in mp3 is not yet implemented");
961961
return SOX_EOF;

0 commit comments

Comments
 (0)