summaryrefslogtreecommitdiffstats
path: root/o3d/core/cross/param.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/core/cross/param.cc')
-rw-r--r--o3d/core/cross/param.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/core/cross/param.cc b/o3d/core/cross/param.cc
index 9e1e157..c5e7907 100644
--- a/o3d/core/cross/param.cc
+++ b/o3d/core/cross/param.cc
@@ -238,7 +238,7 @@ void Param::IncrementNotCachableCountOnParamChainForInput(Param* input) {
++not_cachable_count_;
ParamVector params;
GetOutputs(&params);
- for (int ii = 0; ii < params.size(); ++ii) {
+ for (ParamVector::size_type ii = 0; ii < params.size(); ++ii) {
++params[ii]->not_cachable_count_;
}
}
@@ -249,7 +249,7 @@ void Param::DecrementNotCachableCountOnParamChainForInput(Param* input) {
--not_cachable_count_;
ParamVector params;
GetOutputs(&params);
- for (int ii = 0; ii < params.size(); ++ii) {
+ for (ParamVector::size_type ii = 0; ii < params.size(); ++ii) {
--params[ii]->not_cachable_count_;
}
}