GCC's -Wint-to-pointer-cast (on amd64) complains about the casting of an integer value into a pointer type in two places within lua: