From 88a8c6a97f1214871348afe30a5b4ef54e99a0a4 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 28 Apr 2014 12:37:51 +0200 Subject: emulator/opengl: Fix GCC 4.8 warnings. This fixes a few compiler warnings when building the GPU emulation libraries with GCC 4.8. Note that GLbyte is defined as khronos_int8_t which is signed! Change-Id: I52027cd2eb20d6162983319f22d4da150ff514ed --- emulator/opengl/shared/emugl/common/sockets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emulator/opengl/shared') diff --git a/emulator/opengl/shared/emugl/common/sockets.cpp b/emulator/opengl/shared/emugl/common/sockets.cpp index feb6d38..2a13d72 100644 --- a/emulator/opengl/shared/emugl/common/sockets.cpp +++ b/emulator/opengl/shared/emugl/common/sockets.cpp @@ -27,6 +27,7 @@ #endif #include +#include #include #include @@ -36,7 +37,7 @@ namespace { static void socketSetReuseAddress(int s) { #ifdef _WIN32 - // The default behaviour on WIndows is equivalent to SO_REUSEADDR + // The default behaviour on Windows is equivalent to SO_REUSEADDR // so we don't need to set this option. Moreover, one should never // set this option with WinSock because it's badly implemented and // generates a huge security issue. See: -- cgit v1.1