Repository navigation
Commit e657a34
startFrom parameter should be unsigned
https://bugs.webkit.org/show_bug.cgi?id=255527
Reviewed by Alexey Shvayka.
The value being passed as this argument always unsigned anyway, and when
used within the match function itself, it is always being passed to
another method or function, which takes an unsigned value, not a signed
one.
* Source/JavaScriptCore/yarr/RegularExpression.cpp:
(JSC::Yarr::RegularExpression::match const):
(JSC::Yarr::replace):
* Source/JavaScriptCore/yarr/RegularExpression.h:
Canonical link: https://commits.webkit.org/273319@main1 parent c1f8a9e commit e657a34
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | 177 | | |
179 | 178 | | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments