mirror of
https://github.com/herumi/xbyak
synced 2024-11-21 16:09:11 -07:00
cast to avoid warning
This commit is contained in:
parent
a418dcdd0f
commit
d66e00a17e
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue