From 71622dc3ca72b45e5d2116cbdda43e90b6565ccb Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Mon, 7 May 2012 10:19:55 +0200 Subject: [PATCH] SID is a predefined type under windows --- src/Scripting/NasalPositioned.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scripting/NasalPositioned.cxx b/src/Scripting/NasalPositioned.cxx index 208c34e8f..d7be25322 100644 --- a/src/Scripting/NasalPositioned.cxx +++ b/src/Scripting/NasalPositioned.cxx @@ -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 -- 2.39.5