From 56d33b2c9866b8cc28a610ba8023d39946675a8a Mon Sep 17 00:00:00 2001 From: sezero Date: Tue, 7 Mar 2017 11:11:10 +0300 Subject: [PATCH] Fix minor typo in return type of op_serialno() If, e.g. using a differently configured config_types.h with a long vs. int conflict in the int32 typedef, this would have resulted in a build failure. Signed-off-by: Timothy B. Terriberry --- src/opusfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opusfile.c b/src/opusfile.c index 7a697be..a213cd2 100644 --- a/src/opusfile.c +++ b/src/opusfile.c @@ -1704,7 +1704,7 @@ int op_link_count(const OggOpusFile *_of){ return _of->nlinks; } -ogg_uint32_t op_serialno(const OggOpusFile *_of,int _li){ +opus_uint32 op_serialno(const OggOpusFile *_of,int _li){ if(OP_UNLIKELY(_li>=_of->nlinks))_li=_of->nlinks-1; if(!_of->seekable)_li=0; return _of->links[_li<0?_of->cur_link:_li].serialno; -- GitLab