https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87173
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- malloc argument is size_t, not unsigned long and so malloc is called in that case (assuming unsigned long is wider than size_t) with argument 0, not 65536, so there is nothing to warn about.