From 49c3ec6a87646121b1a48e5e6681ff075f547848 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 28 Oct 2018 15:59:28 +0200 Subject: [PATCH] - fixed compilation warnings reported by GCC and Clang src/gl/data/gl_viewpointbuffer.cpp:142:12: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] src/gl/data/gl_viewpointbuffer.cpp:142:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] --- src/gl/data/gl_viewpointbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/data/gl_viewpointbuffer.h b/src/gl/data/gl_viewpointbuffer.h index 3ec1093df5..08c1cab0c9 100644 --- a/src/gl/data/gl_viewpointbuffer.h +++ b/src/gl/data/gl_viewpointbuffer.h @@ -14,7 +14,7 @@ class GLViewpointBuffer void * mBufferPointer; TArray mClipPlaneInfo; - unsigned int m2DWidth = ~0u, m2DHeight = ~0u; + int m2DWidth = -1, m2DHeight = -1; unsigned int mBlockSize;