[vlc-commits] access: rist: fix OVERFLOW_BEFORE_WIDEN warning
Sergio Ammirata
git at videolan.org
Fri Dec 7 09:50:09 CET 2018
vlc | branch: master | Sergio Ammirata <sergio at ammirata.net> | Tue Nov 27 08:45:28 2018 -0500| [4077054930070e4f7a7bcd6e6f1bff81e6f264a7] | committer: Thomas Guillem
access: rist: fix OVERFLOW_BEFORE_WIDEN warning
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4077054930070e4f7a7bcd6e6f1bff81e6f264a7
---
modules/access/rist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/rist.c b/modules/access/rist.c
index 1e5ef5d613..3f39f812ba 100644
--- a/modules/access/rist.c
+++ b/modules/access/rist.c
@@ -341,7 +341,7 @@ static void send_nacks(stream_t *p_access, struct rist_flow *flow)
if (retry_count == 0){
expiration = flow->reorder_buffer;
} else {
- expiration = flow->nacks_retries[idx] * flow->retry_interval;
+ expiration = (uint64_t)flow->nacks_retries[idx] * (uint64_t)flow->retry_interval;
}
if (age > expiration && retry_count <= flow->max_retries)
{
More information about the vlc-commits
mailing list