Fixed a waring on mingw