]> git.mxchange.org Git - flightgear.git/commitdiff
Ladislav Michnovič: fix a 64bit problem.
authorcurt <curt>
Thu, 17 May 2007 18:43:36 +0000 (18:43 +0000)
committercurt <curt>
Thu, 17 May 2007 18:43:36 +0000 (18:43 +0000)
src/Scripting/NasalSys.cxx

index cbfa07e64775b11250c155244bbc7276fcaf7913..133d8f7407c973f36b916da949589f9284a37ee1 100644 (file)
@@ -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;
     }