From 8f97e96af187d44ae095f35511b6b94491668ddf Mon Sep 17 00:00:00 2001 From: galtgendo Date: Sun, 2 Mar 2014 12:11:23 +0100 Subject: [PATCH] silence a noisy warning --- src/gl/renderer/gl_colormap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/renderer/gl_colormap.h b/src/gl/renderer/gl_colormap.h index d04e1edda..7c9921108 100644 --- a/src/gl/renderer/gl_colormap.h +++ b/src/gl/renderer/gl_colormap.h @@ -55,7 +55,7 @@ struct FColormap void GetFixedColormap() { Clear(); - colormap = gl_fixedcolormap >= CM_LITE? CM_DEFAULT : gl_fixedcolormap; + colormap = gl_fixedcolormap >= (int)CM_LITE? (int)CM_DEFAULT : gl_fixedcolormap; } FColormap & operator=(FDynamicColormap * from)