https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125879 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- For x86_64 the type of NULL is long, but for x86 it's int.