Hello Michael,

On Fri, Mar 18, 2005 at 10:50:02AM -0500, Michel Dänzer wrote:
> Why would you assign the return value of a function that returns an int
> to a char, be it signed or unsigned?
Why do you think I would?

I guess the program's author probably did this because the return
value is a character (or -1) and it worked on his system.  Any data type
which can hold the values -1, ..., 127 or so should be fine.

All the best,
Jochen
-- 
http://seehuhn.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to