mgmt: mcumgr: fs_mgmt: hash/checksum: Fix size errors

There are warnings when building fs_mgmt with hash/checksum
functionality enabled due to array access and a wrong variable type
being used.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2 files changed