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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user