]> git.mxchange.org Git - flightgear.git/commitdiff
SID is a predefined type under windows
authorFrederic Bouvier <fredfgfs01@free.fr>
Mon, 7 May 2012 08:19:55 +0000 (10:19 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Mon, 7 May 2012 08:19:55 +0000 (10:19 +0200)
src/Scripting/NasalPositioned.cxx

index 208c34e8fef66fb6075fb562fe8a93d9578f34d2..d7be25322e7bd1cb46e9396b31629b27622c2d68 100644 (file)
@@ -483,7 +483,7 @@ static void flightplanGhostSetMember(naContext c, void* g, naRef field, naRef va
   } else if (!strcmp(fieldName, "sid")) {
     Procedure* proc = procedureGhost(value);
     if (proc && (proc->type() == PROCEDURE_SID)) {
-      fp->setSID((SID*) proc);
+      fp->setSID((flightgear::SID*) proc);
       return;
     }
     // allow a SID transition to be set, implicitly include the SID itself