sim: warnings: fix -Wreturn-mismatch typo
2 files changed