Fix disastrous variable shadowing, change casts to unsigned in (cygwin doesn't like...
commit49fbe8ea54b6f7423fe896a6b0226c43b91e5287
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
parentfa6a8739ab4c1e4328f17f7158dfa68c57d2fe22
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