Fix compile error with -w

There was a compile problem with -w that I missed.