diff --git a/src/workerd/api/form-data.c++ b/src/workerd/api/form-data.c++ index 5abf781b557..fd9e0e7c4f8 100644 --- a/src/workerd/api/form-data.c++ +++ b/src/workerd/api/form-data.c++ @@ -430,7 +430,7 @@ void FormData::forEach( // it up. Using the classic for (;;) syntax here allows for that. However, this does // mean that it's possible for a user to trigger an infinite loop here if new items // are added to the search params unconditionally on each iteration. - for (int i = 0; i < this->data.size(); i++) { + for (size_t i = 0; i < this->data.size(); i++) { auto& [key, value] = this->data[i]; static constexpr auto ARG_COUNT = 3;