Skip to content

Commit 865daf7

Browse files
authored
Replacement uint => uint32_t
Comparable with php/php-src@afb6ca2
1 parent ee45d78 commit 865daf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ereg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
+----------------------------------------------------------------------+
1515
| Authors: Rasmus Lerdorf <[email protected]> |
1616
| Jim Winstead <[email protected]> |
17-
| Jaakko Hyvätti <[email protected]> |
17+
| Jaakko Hyvätti <[email protected]> |
1818
+----------------------------------------------------------------------+
1919
*/
2020
/* $Id$ */
@@ -294,7 +294,7 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
294294
regex_t re;
295295
regmatch_t *subs;
296296
int err, match_len, string_len;
297-
uint i;
297+
uint32_t i;
298298
int copts = 0;
299299
off_t start, end;
300300
char *buf = NULL;
@@ -454,7 +454,7 @@ PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, co
454454
1) find out how long the string will be, and allocate buf
455455
2) copy the part before match, replacement and backrefs to buf
456456
457-
Jaakko Hyvätti <[email protected]>
457+
Jaakko Hyvätti <[email protected]>
458458
*/
459459

460460
new_l = strlen(buf) + subs[0].rm_so; /* part before the match */

0 commit comments

Comments
 (0)