http://bugs.winehq.org/show_bug.cgi?id=14393
--- Comment #2 from Joël Bohnes shino@jenux.homelinux.org 2008-07-15 20:29:48 --- Ok this is strange - it works on my 64bit systems but doesn't work on 32bit.. so you mustn't use atoi() on strings representing integers > INT_MAX.
Anyway, mingw&wine gives other results than mingw&windows - it may cause hard-to-find bugs if applications rely on the windows-specific behaviour.