]> git.ipfire.org Git - thirdparty/curl.git/commit
warnless: simplify type size handling
authordmitrykos <dmitrykos@neutroncode.com>
Wed, 2 Jun 2021 20:06:00 +0000 (23:06 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Jun 2021 13:08:10 +0000 (15:08 +0200)
commite4662ad7dd00c26b9f94ac89968e626fd95141a1
tree1f86d01315f003d8041cd6d9496f535004a974d9
parent1838925aac4d6896945e54ad8a6723b039c9a118
warnless: simplify type size handling

By using sizeof(T), existing defines and relying on the compiler to
define the required signed/unsigned mask.

Closes #7181
lib/curl_setup.h
lib/warnless.c