ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.xs
(Generate patch)

Comparing JSON-XS/XS.xs (file contents):
Revision 1.139 by root, Wed Mar 6 07:32:06 2019 UTC vs.
Revision 1.140 by root, Fri Apr 19 17:09:51 2019 UTC

162#endif 162#endif
163 } 163 }
164} 164}
165 165
166/* adds two STRLENs together, slow, and with paranoia */ 166/* adds two STRLENs together, slow, and with paranoia */
167STRLEN 167static STRLEN
168strlen_sum (STRLEN l1, STRLEN l2) 168strlen_sum (STRLEN l1, STRLEN l2)
169{ 169{
170 size_t sum = l1 + l2; 170 size_t sum = l1 + l2;
171 171
172 if (sum < (size_t)l2 || sum != (size_t)(STRLEN)sum) 172 if (sum < (size_t)l2 || sum != (size_t)(STRLEN)sum)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines