Ladislav Michnovič: fix a 64bit problem.
This commit is contained in:
parent
0e6203a4d2
commit
738b40158d
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ FGNasalScript* FGNasalSys::parseScript(const char* src, const char* name)
|
|||
|
||||
char buf[256];
|
||||
if(!name) {
|
||||
sprintf(buf, "FGNasalScript@%p", script);
|
||||
sprintf(buf, "FGNasalScript@%p", (void *)script);
|
||||
name = buf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue