sim: Fix compiler warning and by this fixing the test result
1 file changed