summaryrefslogtreecommitdiff
path: root/src/core/StelCore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/StelCore.cpp')
-rw-r--r--src/core/StelCore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/StelCore.cpp b/src/core/StelCore.cpp
index e58828abcb..dbe60654e1 100644
--- a/src/core/StelCore.cpp
+++ b/src/core/StelCore.cpp
@@ -359,7 +359,7 @@ StelProjectorP StelCore::getProjection2d() const
StelProjectorP StelCore::getProjection(StelProjector::ModelViewTranformP modelViewTransform, ProjectionType projType) const
{
- if (projType==1000)
+ if (projType==static_cast<ProjectionType>(1000))
projType = currentProjectionType;
StelProjectorP prj;