diff options
-rw-r--r-- | rsScript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rsScript.cpp b/rsScript.cpp index a4a4e3ba..835ded1a 100644 --- a/rsScript.cpp +++ b/rsScript.cpp @@ -66,7 +66,7 @@ void Script::getVar(uint32_t slot, const void *val, size_t len) { //ALOGE("getVar %i %p %i", slot, val, len); if (slot >= mHal.info.exportedVariableCount) { ALOGE("Script::getVar unable to set allocation, invalid slot index: " - "%u >= %u", slot, mHal.info.exportedVariableCount); + "%u >= %zu", slot, mHal.info.exportedVariableCount); return; } mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); @@ -76,7 +76,7 @@ void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, const size_t *dims, size_t dimLen) { if (slot >= mHal.info.exportedVariableCount) { ALOGE("Script::setVar unable to set allocation, invalid slot index: " - "%u >= %u", slot, mHal.info.exportedVariableCount); + "%u >= %zu", slot, mHal.info.exportedVariableCount); return; } mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, @@ -87,7 +87,7 @@ void Script::setVarObj(uint32_t slot, ObjectBase *val) { //ALOGE("setVarObj %i %p", slot, val); if (slot >= mHal.info.exportedVariableCount) { ALOGE("Script::setVarObj unable to set allocation, invalid slot index: " - "%u >= %u", slot, mHal.info.exportedVariableCount); + "%u >= %zu", slot, mHal.info.exportedVariableCount); return; } mHasObjectSlots = true; |