ss_bsdiff: Add casting for explicit conversion 48/312548/2 accepted/tizen/unified/20240612.160709 accepted/tizen/unified/dev/20240620.000312 accepted/tizen/unified/toolchain/20240624.121655 accepted/tizen/unified/x/20240614.011706 accepted/tizen/unified/x/asan/20240625.091336
authorSangYoun Kwak <sy.kwak@samsung.com>
Tue, 11 Jun 2024 10:44:44 +0000 (19:44 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Tue, 11 Jun 2024 11:16:02 +0000 (20:16 +0900)
commit3feb4a7b54cd9a4f5bab2aa8c247a56473267585
tree73abdea98369eae5daee9bdf941513332f27e453
parent6ee7531f341275e9a29eccb0a5c6c261b5751c31
ss_bsdiff: Add casting for explicit conversion

Since there were implicit conversion from off_t to uint64_t, which
caused by the compariton between off_t type variables and uint64_t type
varaibles.

It causes warning about the comparison between unmatched types thus the
off_t value will be casted implicitly to uint64_t if this warning is
ignored.

To suppress this warning and preserve the behavior of the original code,
explicit type casting to uint64_t is added.

Change-Id: Ieb6c0e073986e2cf0ef686307b2cfe894d84f27d
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
bsdiff/ss_bsdiff.c