summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-15 14:55:53 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-15 14:57:31 -0700
commit3ab368e0810d894dcbc0971350c095049478a055 (patch)
treea50053c391da8c02797158395f2ecfec83218855 /drm/libdrmframework
parentdb43b34c3428e480f8c4c66e7e88f4001f37f91e (diff)
downloadframeworks_av-3ab368e0810d894dcbc0971350c095049478a055.zip
frameworks_av-3ab368e0810d894dcbc0971350c095049478a055.tar.gz
frameworks_av-3ab368e0810d894dcbc0971350c095049478a055.tar.bz2
media: use size_t for integer iterator to Vector::size()
Change-Id: I0a744dc7815a86a993df9b0623440be620ec8903
Diffstat (limited to 'drm/libdrmframework')
-rw-r--r--drm/libdrmframework/include/PlugInManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/libdrmframework/include/PlugInManager.h b/drm/libdrmframework/include/PlugInManager.h
index 7bb143f..c1d019a 100644
--- a/drm/libdrmframework/include/PlugInManager.h
+++ b/drm/libdrmframework/include/PlugInManager.h
@@ -80,7 +80,7 @@ public:
Vector<String8> plugInFileList = getPlugInPathList(rsPlugInDirPath);
if (!plugInFileList.isEmpty()) {
- for (unsigned int i = 0; i < plugInFileList.size(); ++i) {
+ for (size_t i = 0; i < plugInFileList.size(); ++i) {
loadPlugIn(plugInFileList[i]);
}
}
@@ -91,7 +91,7 @@ public:
*
*/
void unloadPlugIns() {
- for (unsigned int i = 0; i < m_plugInIdList.size(); ++i) {
+ for (size_t i = 0; i < m_plugInIdList.size(); ++i) {
unloadPlugIn(m_plugInIdList[i]);
}
m_plugInIdList.clear();