aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLingfeng Yang <lfy@google.com>2018-09-24 17:26:07 -0700
committerLingfeng Yang <lfy@google.com>2018-09-24 17:26:07 -0700
commitddfb445ed680ac3f27fec60d01cd173a9d076db7 (patch)
treee1fe73ef38d101a82673dcb9ff8741686fc6fc6c
parent4fa970abfbdc1f439339eebfd5d97099d3fb4df5 (diff)
downloadgoldfish-opengl-emu-master-qemu-release.tar.gz
Explicit cast to unsigned int to fix buildemu-master-qemu-release
Change-Id: Ie4c9b1ec8a8aa4535e71f981937ef373e4ed2d5e
-rwxr-xr-xsystem/GLESv2_enc/GL2Encoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/GLESv2_enc/GL2Encoder.cpp b/system/GLESv2_enc/GL2Encoder.cpp
index 68d35480..0217ff04 100755
--- a/system/GLESv2_enc/GL2Encoder.cpp
+++ b/system/GLESv2_enc/GL2Encoder.cpp
@@ -1133,7 +1133,7 @@ void GL2Encoder::sendVertexAttributes(GLint first, GLsizei count, bool hasClient
if (buf) {
ALOGE("Out of bounds vertex attribute info: "
"clientArray? %d attribute %d vbo %u allocedBufferSize %u bufferDataSpecified? %d wantedStart %u wantedEnd %u",
- hasClientArrays, i, bufferObject, buf->m_size, buf != NULL, firstIndex, firstIndex + bufLen);
+ hasClientArrays, i, bufferObject, (unsigned int)buf->m_size, buf != NULL, firstIndex, firstIndex + bufLen);
}
m_glDisableVertexAttribArray_enc(this, i);
}