verify: fix integer sizes in verify state file
authorVincent Fu <vincent.fu@samsung.com>
Fri, 16 Feb 2024 01:33:21 +0000 (01:33 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Fri, 16 Feb 2024 14:25:35 +0000 (09:25 -0500)
commit38d01cc56366aa2fd3af42dbab522888b6359dec
treeb4873e4373f27a7d6498a3ce94e8733e79665d7e
parent2d0debb3fca7ddc4374624acb8c70fc8292d860d
verify: fix integer sizes in verify state file

nofiles and depth are 32-bit integers. So we shouldn't use 64-bit
conversion functions and casts. The current code actually works fine on
little-endian platforms since the conversion is a noop but this is
broken on big-endian platforms.

Fixes: 94a6e1bb ("Fix verify state for multiple files")
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
verify.c