summaryrefslogtreecommitdiff
path: root/opengl/libagl/Tokenizer.cpp
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2014-01-24 14:35:39 -0800
committer Colin Cross <ccross@android.com> 2014-01-24 14:44:57 -0800
commit444839b842798497cfa326204285a4f2ca2362af (patch)
tree1f2766b57b911c22e08c19dd25ba79a6e85501d2 /opengl/libagl/Tokenizer.cpp
parentb6c2100458bd4dda880ec24dc7d1f39825d5243d (diff)
libGLES_android: fix 64-bit compile errors
Fix size of vertex_t on 64-bit architectures Fix __get_tls casts, the TLS area is a void** Cast through uintptr_t to store integers in a pointer Use %zu to print size_t Change-Id: I91079ec76025237e6d2081784c5348518b0ce122
Diffstat (limited to 'opengl/libagl/Tokenizer.cpp')
-rw-r--r--opengl/libagl/Tokenizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libagl/Tokenizer.cpp b/opengl/libagl/Tokenizer.cpp
index eac8d6d768..ac0a48cc02 100644
--- a/opengl/libagl/Tokenizer.cpp
+++ b/opengl/libagl/Tokenizer.cpp
@@ -163,9 +163,9 @@ void Tokenizer::dump() const
{
const run_t* ranges = mRanges.array();
const size_t c = mRanges.size();
- ALOGD("Tokenizer (%p, size = %u)\n", this, c);
+ ALOGD("Tokenizer (%p, size = %zu)\n", this, c);
for (size_t i=0 ; i<c ; i++) {
- ALOGD("%u: (%u, %u)\n", i, ranges[i].first, ranges[i].length);
+ ALOGD("%zu: (%u, %u)\n", i, ranges[i].first, ranges[i].length);
}
}