]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Use size_t types for len arithmetic, matching signature
authorAdam Stylinski <kungfujesus06@gmail.com>
Sun, 27 Mar 2022 23:20:08 +0000 (19:20 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 31 Mar 2022 14:12:10 +0000 (16:12 +0200)
commite43e0b21893b55d6b44d3f8b7105fcb655e87f5a
treeea66d27cffe9eb56af94221f5596c7707f80d575
parent98d4908aa67437e199544493fa63d84c16070c54
Use size_t types for len arithmetic, matching signature

This suppresses a warning and keeps everything safely the same type.
While it's unlikely that the input for any of this will exceed the size
of an unsigned 32 bit integer, this approach is cleaner than casting and
should not result in a performance degradation.
arch/x86/adler32_ssse3.c