ecere/gfx/newFonts: Fixed warnings compiling in 32 bit
authorJerome St-Louis <jerome@ecere.com>
Wed, 2 Dec 2015 22:07:01 +0000 (17:07 -0500)
committerJerome St-Louis <jerome@ecere.com>
Wed, 2 Nov 2016 16:32:41 +0000 (12:32 -0400)
ecere/src/gfx/newFonts/drawManager.ec
ecere/src/gfx/newFonts/fontManager.ec
ecere/src/gfx/newFonts/fontRenderer.ec

index 8ad8be5..340405e 100644 (file)
@@ -2,6 +2,7 @@ import "OpenGLDisplayDriver"
 
 #include <stdio.h>
 #include <math.h>
+#include <stdlib.h>
 
 #if defined(_GLES)
    #define ES1_1
index 1b6e4c9..55e85fb 100644 (file)
@@ -903,7 +903,6 @@ public:
      state->align = (uint16)align;
      state->blurradius = (uint16)blurradius;
      state->blurscale = (uint16)blurscale;
-     return;
    }
 
    void setFont( FMFont font )
index 3e7daf4..233269a 100644 (file)
@@ -6,6 +6,7 @@
 import "Color"
 
 #include <math.h>
+#include <stdlib.h>
 
 #if defined(_GLES)
    #define ES1_1