Skip to content

Commit

Permalink
Fixed warnings on printf in ncmp.cpp and icmp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMirzayanov committed Jan 19, 2018
1 parent b70e03c commit 2c7609f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checkers/icmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

int main(int argc, char * argv[])
{
setName("compare two signed int%ld's", 8 * sizeof(int));
setName("compare two signed int%d's", 8 * int(sizeof(int)));
registerTestlibCmd(argc, argv);

int ja = ans.readInt();
Expand Down
2 changes: 1 addition & 1 deletion checkers/ncmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using namespace std;

int main(int argc, char * argv[])
{
setName("compare ordered sequences of signed int%ld numbers", 8 * sizeof(long long));
setName("compare ordered sequences of signed int%d numbers", 8 * int(sizeof(long long)));

registerTestlibCmd(argc, argv);

Expand Down

0 comments on commit 2c7609f

Please sign in to comment.