cache: Fix some data types mismatching with their sources.
2 files changed