WINCE: Attempt to fix WinCE compilation.
MAEMO: Get rid of superfluous cast.