We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ad469 commit b3f353fCopy full SHA for b3f353f
src/common.cpp
@@ -92,7 +92,7 @@ namespace bin2cpp
92
//try to convert the int value back to string and check for equality.
93
static const int BUFFER_SIZE = 1024;
94
char buffer[BUFFER_SIZE];
95
- itoa(intValue, buffer, 10);
+ _itoa(intValue, buffer, 10);
96
if (std::string(buffer) == iValue)
97
return true;
98
return false;
@@ -172,7 +172,7 @@ namespace bin2cpp
172
std::string getTemporaryFileName()
173
{
174
char rndvalue[1024];
175
- itoa(rand(), rndvalue, 10);
+ _itoa(rand(), rndvalue, 10);
176
177
std::string name = std::string("random") + rndvalue + ".tmp";
178
return name;
0 commit comments