From eba04366ddaeaf66ffc33f807f6b17f6e8ede9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Thu, 11 Jan 2024 11:26:56 +0100 Subject: [PATCH] cosmetic: reorder 'memmove' arguments --- srtp/srtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srtp/srtp.c b/srtp/srtp.c index 45e58d726..4421d9918 100644 --- a/srtp/srtp.c +++ b/srtp/srtp.c @@ -5033,7 +5033,7 @@ void srtp_stream_list_remove(srtp_stream_list_t list, if (list->entries[i].ssrc == stream_to_remove->ssrc) { size_t entries_to_move = list->size - list->available - i - 1; memmove(&list->entries[i], &list->entries[i + 1], - entries_to_move * sizeof(list_entry)); + sizeof(list_entry) * entries_to_move); list->available++; break;