commit | d6655d9995e3fa9a2318261ec3ef5fc54996f69c | [log] [tgz] |
---|---|---|
author | Ulf Hermann <ulf.hermann@qt.io> | Thu Apr 20 14:40:30 2017 |
committer | Mark Wielaard <mark@klomp.org> | Thu Apr 27 18:19:54 2017 |
tree | 9ae1dac6f6fb6fe2479d944b47493b1dff84d026 | |
parent | efd60bee71b9613a97bf60fa4f8d4407f8460ccb [diff] |
Avoid signed/unsigned comparison Some compilers implicitly cast the result of uint_fast16_t * uint_fast16_t to something signed and then complain about the comparison to (unsigned) size_t. Casting phnum to size_t is a good idea anyway as 16bit multiplication can easily overflow and we are not checking for this. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>