Browse Source

fix compiler error

Kolja Strohm 3 years ago
parent
commit
0996462aa6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CharMap.h

+ 1 - 1
CharMap.h

@@ -35,7 +35,7 @@ namespace Framework
 
         T *get( unsigned char c )
         {
-            return dynamic_cast<T *>( entries[ (int)c ] ? entries[ (int)c ]->getThis() ) : 0;
+            return entries[ (int)c ] ? dynamic_cast<T *>( entries[ (int)c ]->getThis() ) : 0;
         }
 
         T *z( unsigned char c )