1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0023042: Potential mistakes in (s)printf usage

Use PRIuPTR macros for Standard_Size values in printf.
Use STL streams instead of printf when reasonable.
This commit is contained in:
omy
2013-07-12 12:25:44 +04:00
parent bda8360543
commit 64531d9c98
12 changed files with 346 additions and 322 deletions

View File

@@ -239,7 +239,7 @@ static TCollection_AsciiString nulword;
for (;;) {
char ligne[100];
if (!lefic) printf (theprompt.ToCString());
if (!lefic) std::cout << theprompt.ToCString();
ligne[0] = '\0';
fgets(ligne,100,fic);
if (feof(fic)) break;