Added fixes mentioned in #3205 : changing uint to unsigned literals for compilation on Mingw 4.7.2
Merge pull request #1247 from StevenPuttemans:bugfix_3205