| Index: fpdfsdk/src/fsdk_baseform.cpp
|
| diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
|
| index 542ade022a372906fa05a78058ce4b9c362d2582..619668e7d7f851ebf0f258c0d792ee663c74628e 100644
|
| --- a/fpdfsdk/src/fsdk_baseform.cpp
|
| +++ b/fpdfsdk/src/fsdk_baseform.cpp
|
| @@ -2461,7 +2461,7 @@ void CBA_AnnotIterator::GenerateResults() {
|
|
|
| switch (m_nTabs) {
|
| case BAI_STRUCTURE: {
|
| - for (int i = 0, sz = m_pPageView->CountAnnots(); i < sz; i++) {
|
| + for (size_t i = 0; i < m_pPageView->CountAnnots(); ++i) {
|
| CPDFSDK_Annot* pAnnot = m_pPageView->GetAnnot(i);
|
| ASSERT(pAnnot != NULL);
|
|
|
| @@ -2473,7 +2473,7 @@ void CBA_AnnotIterator::GenerateResults() {
|
| CPDFSDK_SortAnnots sa;
|
|
|
| {
|
| - for (int i = 0, sz = m_pPageView->CountAnnots(); i < sz; i++) {
|
| + for (size_t i = 0; i < m_pPageView->CountAnnots(); ++i) {
|
| CPDFSDK_Annot* pAnnot = m_pPageView->GetAnnot(i);
|
| ASSERT(pAnnot != NULL);
|
|
|
| @@ -2552,7 +2552,7 @@ void CBA_AnnotIterator::GenerateResults() {
|
| CPDFSDK_SortAnnots sa;
|
|
|
| {
|
| - for (int i = 0, sz = m_pPageView->CountAnnots(); i < sz; i++) {
|
| + for (size_t i = 0; i < m_pPageView->CountAnnots(); ++i) {
|
| CPDFSDK_Annot* pAnnot = m_pPageView->GetAnnot(i);
|
| ASSERT(pAnnot != NULL);
|
|
|
|
|