Unnecessary SDL_iconv casting?

Casting a Uint8 to Uint32 when the destination is Uint16? Seems like no cast is necessary, or at the very least, a Uint16 cast. Compiles on MSVC6 & 2005 without warning with no casting.

–William
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl12_iconv_nocast.patch
Type: application/octet-stream
Size: 1345 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060312/2ed55488/attachment.obj

Casting a Uint8 to Uint32 when the destination is Uint16? Seems like no cast is necessary, or at the very least, a Uint16 cast. Compiles on MSVC6 & 2005 without warning with no casting.

Almost fast enough… this is already fixed in CVS, thanks. :slight_smile:

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment