Fix some GCC warnings that hide real issues 22/17722/2
Clément DAVID [Tue, 26 Jan 2016 13:44:17 +0000 (14:44 +0100)]
Change-Id: I23df313a97a627926e69ec855e88f318aa3f2eac

scilab/modules/core/sci_gateway/cpp/sci_debug.cpp
scilab/modules/hdf5/src/cpp/handle_properties.cpp

index d4986dd..94a0416 100644 (file)
@@ -30,7 +30,7 @@ extern "C"
 #include "Thread_Wrapper.h"
 }
 
-typedef enum EnumCommand
+enum EnumCommand
 {
     AbortCommand,
     BreakCommand,
index c2a1d67..c8050b5 100644 (file)
@@ -2692,7 +2692,7 @@ static bool export_handle_matplot(int parent, int uid)
             {
                 size *= 3;
             }
-            else if ((ImageType)imagetype == MATPLOT_GL_RGBA)
+            else if ((GLType)imagetype == MATPLOT_GL_RGBA)
             {
                 size *= 4;
             }