mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ASYLUM: don't use itoa() as it's not portable (use sprintf() instead)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@564 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
@@ -1422,7 +1422,9 @@ void Actor::updateNumbers(int32 reaction, int32 x, int32 y) {
|
||||
_numberStringY = y + 8;
|
||||
_numberStringWidth = 40;
|
||||
|
||||
itoa(_numberValue01, _numberString01, 10);
|
||||
// XXX use sprintf instead of itoa as itoa isn't part of standard
|
||||
// C++ and therefore isn't available in GCC
|
||||
sprintf(_numberString01, "%d", _numberValue01);
|
||||
|
||||
_numberFlag01 = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user