cast to avoid warning

This commit is contained in:
MITSUNARI Shigeo 2014-03-25 10:42:33 +09:00
parent a418dcdd0f
commit d66e00a17e

View file

@ -686,7 +686,7 @@ CYBOZU_TEST_AUTO(testF_B)
2, 0, 3, 3, 5, 2, 2, 6
};
for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(expectedTbl); i++) {
Code code(i);
Code code((int)i);
int ret = code.getCode<int (*)()>()();
CYBOZU_TEST_EQUAL(ret, expectedTbl[i]);
}