Fix disastrous variable shadowing, change casts to unsigned in (cygwin doesn't like...
commit3ccc9b1d1583a2b3ca10d5b049b0ac3969cbb063
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 7 May 2010 16:56:40 +0000 (7 16:56 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 7 May 2010 16:56:40 +0000 (7 16:56 +0000)
tree85612a9614e2e98cdac5605a4a5e8c519270cc61
parent9fc115783814885d5d40a130760626ad177f340b
Fix disastrous variable shadowing, change casts to unsigned in (cygwin doesn't like mode_t there, and unsigned int should be equally correct) and check the correct bitmask in sim_open().
Should repair filesystem accesses on the sim.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25881 a1c6a512-1295-4272-9138-f99709370657
apps/codecs.c
apps/plugin.c
apps/plugins/doom/rockdoom.c
uisimulator/common/io.c