aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/shared/emugl/common/sockets.cpp
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-04-28 12:37:51 +0200
committerDavid 'Digit' Turner <digit@google.com>2014-04-28 12:45:16 +0200
commit88a8c6a97f1214871348afe30a5b4ef54e99a0a4 (patch)
treeca5573aa6131ff65ccda71e63fb3d83f7ccf480b /emulator/opengl/shared/emugl/common/sockets.cpp
parent0c5d08da8a14a3ec54578270036012829de97ef2 (diff)
downloadsdk-88a8c6a97f1214871348afe30a5b4ef54e99a0a4.zip
sdk-88a8c6a97f1214871348afe30a5b4ef54e99a0a4.tar.gz
sdk-88a8c6a97f1214871348afe30a5b4ef54e99a0a4.tar.bz2
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
Diffstat (limited to 'emulator/opengl/shared/emugl/common/sockets.cpp')
-rw-r--r--emulator/opengl/shared/emugl/common/sockets.cpp3
1 files changed, 2 insertions, 1 deletions
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 <stddef.h>
+#include <stdint.h>
#include <string.h>
#include <unistd.h>
@@ -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: