| Index: core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
|
| diff --git a/core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp b/core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
|
| index 323602b0e10aa5e44b85d55b5674c3c422a3bd4c..74b16c86be1ea4bec662c75e30e204835f8ba664 100644
|
| --- a/core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
|
| +++ b/core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
|
| @@ -97,7 +97,7 @@ int32_t PDF_CreatorAppendObject(const CPDF_Object* pObj,
|
| }
|
| offset += 1;
|
| const CPDF_Array* p = pObj->AsArray();
|
| - for (uint32_t i = 0; i < p->GetCount(); i++) {
|
| + for (size_t i = 0; i < p->GetCount(); i++) {
|
| CPDF_Object* pElement = p->GetObjectAt(i);
|
| if (pElement->GetObjNum()) {
|
| if (pFile->AppendString(" ") < 0) {
|
| @@ -1203,7 +1203,7 @@ int32_t CPDF_Creator::WriteDirectObj(uint32_t objnum,
|
| }
|
| m_Offset += 1;
|
| const CPDF_Array* p = pObj->AsArray();
|
| - for (uint32_t i = 0; i < p->GetCount(); i++) {
|
| + for (size_t i = 0; i < p->GetCount(); i++) {
|
| CPDF_Object* pElement = p->GetObjectAt(i);
|
| if (pElement->GetObjNum()) {
|
| if (m_File.AppendString(" ") < 0) {
|
|
|