]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fixed casting warnings in trees.c with count being int and freq being uint16_t.
authorNathan Moinvaziri <nathan@nathanm.com>
Wed, 27 May 2020 00:21:13 +0000 (17:21 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 30 May 2020 19:25:18 +0000 (21:25 +0200)
commit75da91b7ed68def36e4a76ed694691d8963e63ed
tree6f5be51243ff7ba7410c5207b69688258543ca0f
parentd420aa05d3ea52a30885db9013902644098c55ac
Fixed casting warnings in trees.c with count being int and freq being uint16_t.
Changed to use uint16_t for all counting variable types.

  trees.c(431,45): warning C4244: '+=': conversion from 'int' to 'uint16_t', possible loss of data
  trees.c(431,45): warning C4244: '+=': conversion from 'int' to 'uint16_t', possible loss of data
trees.c