diff options
author | MITSUNARI Shigeo <[email protected]> | 2014-03-25 10:42:33 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2014-03-25 10:42:33 +0900 |
commit | d66e00a17e2bc51da48c376333cbdc3043f68b53 (patch) | |
tree | 832651103e887e4b22254580e0ca5860620d44ba | |
parent | a418dcdd0f4eb58152fec176811b64c342b778a4 (diff) | |
download | xbyak-d66e00a17e2bc51da48c376333cbdc3043f68b53.tar.gz xbyak-d66e00a17e2bc51da48c376333cbdc3043f68b53.zip |
cast to avoid warning
-rw-r--r-- | test/jmp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/jmp.cpp b/test/jmp.cpp index 14be484..7285838 100644 --- a/test/jmp.cpp +++ b/test/jmp.cpp @@ -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]); } |