commit | cb2e42ad4413aed4615a4951e9208863cb1369dc | [log] [tgz] |
---|---|---|
author | Dan Austin <danielaustin@google.com> | Wed May 25 12:46:28 2016 -0700 |
committer | Dan Austin <danielaustin@google.com> | Wed May 25 12:46:28 2016 -0700 |
tree | ba0c6e9db18fba5438cf0905cf85bc6e689a949e | |
parent | 935f252c6e27b477638d2b943fc5bfc89ea13b64 [diff] |
Fix const issues in preparation for libcxx rebase. Change-Id: I2a939c87af3ef9881d9c806ba374185bd31a4954
diff --git a/opengl/system/GLESv2_enc/GL2Encoder.cpp b/opengl/system/GLESv2_enc/GL2Encoder.cpp index 0d0868f..7669235 100755 --- a/opengl/system/GLESv2_enc/GL2Encoder.cpp +++ b/opengl/system/GLESv2_enc/GL2Encoder.cpp
@@ -936,7 +936,7 @@ if (needLocationWAR) { int namelen = strlen(name); if (name[namelen-1] == ']') { - char *brace = strrchr(name,'['); + const char *brace = strrchr(name,'['); if (!brace || sscanf(brace+1,"%d",&arrIndex) != 1) { return -1; }