diff options
Diffstat (limited to 'libs/rs/ScriptC.cpp')
| -rw-r--r-- | libs/rs/ScriptC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/ScriptC.cpp b/libs/rs/ScriptC.cpp index ad82ff46acf1..80e8efc87828 100644 --- a/libs/rs/ScriptC.cpp +++ b/libs/rs/ScriptC.cpp @@ -22,11 +22,11 @@ #include "ScriptC.h" ScriptC::ScriptC(RenderScript *rs, - const char *codeTxt, size_t codeLength, + const void *codeTxt, size_t codeLength, const char *cachedName, size_t cachedNameLength, const char *cacheDir, size_t cacheDirLength) : Script(NULL, rs) { mID = rsScriptCCreate(rs->mContext, cachedName, cachedNameLength, - cacheDir, cacheDirLength, codeTxt, codeLength); + cacheDir, cacheDirLength, (const char *)codeTxt, codeLength); } |