1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

itoa linux fix

This commit is contained in:
Brian Fiete 2021-12-28 13:29:14 -05:00
parent 069e327850
commit 1e687cc062

View file

@ -8053,12 +8053,8 @@ void BfCompiler::GenerateAutocompleteInfo()
for (int i = 0; i < entry->mMatchesLength; i++)
{
int match = entry->mMatches[i];
// Need max 3 chars (largest Hex (FF) + '\0')
char buffer[3];
_itoa_s(match, buffer, 16);
char buffer[16];
itoa(match, buffer, 16);
autoCompleteResultString += String(buffer);
autoCompleteResultString += ",";
}