[M120 Migration] Fix build warning 51/307451/2
authorManjeet <manjeet.1@partner.samsung.com>
Fri, 8 Mar 2024 10:11:49 +0000 (15:41 +0530)
committerDae-Hyun Ko <dhyuna.ko@samsung.com>
Mon, 11 Mar 2024 05:21:05 +0000 (05:21 +0000)
commit2372d61972cd16d3b9b0191f8995c86c9bef91d2
tree483098b9c81e7acc1dab78c886d99b12500eb7db
parent02212222f3d3d848b0eff29c0ce8421e469a8b1c
[M120 Migration] Fix build warning

The following patch fixes a compilation warning [1] that
occurs during tv build.

[1] "warning: comparison of integers of different
signs: 'int' and 'unsigned int'"

The upper limit of unsigned int and int are different, so in
extreme cases where value of a variable falls in between the
upper limit of int and unsigned int, leads to an infinite loop.

Reference: https://review.tizen.org/gerrit/293395

Change-Id: I7921ffb6a949b7f9c522889e35c9cd9d48268b26
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
media/filters/source_buffer_range.cc