Upstream lua has many instances of discarding cont qualifiers through explicit casting. This disables the warnigns for the package so that they don't show up when one enables -Wno-cast-qual globally.