Skip to content

Commit

Permalink
cast to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Mar 25, 2014
1 parent a418dcd commit d66e00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit d66e00a

Please sign in to comment.