Fix printf() parameters
This commit is contained in:
parent
e077a8ff63
commit
a88fa576ca
@ -219,7 +219,8 @@ void gareafile::ReadIMail(char* tag) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
char buff[78];
|
char buff[78];
|
||||||
sprintf(buff, "* Error: IMAIL %c.%02c (structure revision %c.%02c) is not supported - Skipping.\n", imver[0], imver[1], imstructver[0], imstructver[1]);
|
sprintf( buff, "* Error: IMAIL %u.%02u (structure revision %u.%02u) is not supported - Skipping.\n",
|
||||||
|
unsigned(imver[0]), unsigned(imver[1]), unsigned(imstructver[0]), unsigned(imstructver[1]) );
|
||||||
std::cout << buff;
|
std::cout << buff;
|
||||||
|
|
||||||
// std::cout << "* Error: IMAIL " << imver[0] << '.' << std::setfill('0') << std::setw(2) << imver[1] << " (structure revision " << imstructver[0] << '.' << std::setfill('0') << std::setw(2) << imstructver[1] << ") is not supported - Skipping." << std::endl;
|
// std::cout << "* Error: IMAIL " << imver[0] << '.' << std::setfill('0') << std::setw(2) << imver[1] << " (structure revision " << imstructver[0] << '.' << std::setfill('0') << std::setw(2) << imstructver[1] << ") is not supported - Skipping." << std::endl;
|
||||||
|
Reference in New Issue
Block a user