mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
itoa linux fix
This commit is contained in:
parent
069e327850
commit
1e687cc062
1 changed files with 2 additions and 6 deletions
|
@ -8053,12 +8053,8 @@ void BfCompiler::GenerateAutocompleteInfo()
|
||||||
for (int i = 0; i < entry->mMatchesLength; i++)
|
for (int i = 0; i < entry->mMatchesLength; i++)
|
||||||
{
|
{
|
||||||
int match = entry->mMatches[i];
|
int match = entry->mMatches[i];
|
||||||
|
char buffer[16];
|
||||||
// Need max 3 chars (largest Hex (FF) + '\0')
|
itoa(match, buffer, 16);
|
||||||
char buffer[3];
|
|
||||||
|
|
||||||
_itoa_s(match, buffer, 16);
|
|
||||||
|
|
||||||
autoCompleteResultString += String(buffer);
|
autoCompleteResultString += String(buffer);
|
||||||
autoCompleteResultString += ",";
|
autoCompleteResultString += ",";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue