windows compiler warnings missed this