summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework/include/PlugInManager.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-15 22:35:00 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-15 22:35:00 +0000
commite80631aa1992ca50af679cd6a018c0ffda7f9b17 (patch)
tree6b3fcc9fbb5b02976e4bb2163e994952303bead5 /drm/libdrmframework/include/PlugInManager.h
parentd4a3cae8cc4cf924925ae57723e61c89f6c4fd51 (diff)
parent839d11d1f7be9dff2f06c7d30a9eb39cb6782078 (diff)
downloadframeworks_av-e80631aa1992ca50af679cd6a018c0ffda7f9b17.zip
frameworks_av-e80631aa1992ca50af679cd6a018c0ffda7f9b17.tar.gz
frameworks_av-e80631aa1992ca50af679cd6a018c0ffda7f9b17.tar.bz2
am 839d11d1: Merge changes I0a744dc7,Id993a70d
* commit '839d11d1f7be9dff2f06c7d30a9eb39cb6782078': media: use size_t for integer iterator to Vector::size() media: 64 bit compile issues
Diffstat (limited to 'drm/libdrmframework/include/PlugInManager.h')
-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();