Skip to content

Commit e54f564

Browse files
committed
ext/zend_test: Fix [-Wsign-compare] warnings
1 parent 2fa3e80 commit e54f564

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/zend_test/test.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,8 +1321,7 @@ PHP_ZEND_TEST_API struct bug79096 bug79096(void)
13211321

13221322
PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems)
13231323
{
1324-
int i;
1325-
for (i = 0; i < elems; i++) {
1324+
for (size_t i = 0; i < elems; i++) {
13261325
array[i] = i;
13271326
}
13281327
}

0 commit comments

Comments
 (0)