> You can cast a short to an int, an the conversion in ok, but to cast a
> short* to an int* will bring in 2 extra bytes and an INVALID POINTER...
>

no short * and int * are the exact same size in 16-bit compilers (try
compiling a test program which prints sizeof(int), sizeof(short).  For
some reason openwatcom thinks it's an error.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to