Hi!

7-Мар-2004 19:31 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to
[EMAIL PROTECTED]:

>> which should be correct since the high byte should be 0.
LG> Yes, it SHOULD, but it is NOT! An alternative would be to change the type
LG> of c from int to char

     And this will be another mistake: in C/C++ standard `char' may be
signed, and _it is_ (by default) in BC. (But not in OW, BTW). Stupid, but
this is so.

     This (troubles with sign extension) is why I suggest, that machine
specific types NEVER SHOULD BE SIGNED (as they are in FD kernel).




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to