mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Linux fixes
This commit is contained in:
parent
b13bee470c
commit
a399e383fa
8 changed files with 41 additions and 35 deletions
|
@ -639,7 +639,7 @@ void BfGNUMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType
|
|||
}
|
||||
if ((val >= 1) && (val < 10))
|
||||
{
|
||||
val += (char)('0' + val - 1);
|
||||
name += (char)('0' + val - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -649,7 +649,7 @@ void BfGNUMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType
|
|||
|
||||
while (val > 0)
|
||||
{
|
||||
*(strP--) = (char)((val % 0x10) + 'A');
|
||||
*(--strP) = (char)((val % 0x10) + 'A');
|
||||
val /= 0x10;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue