Self-correction:

2007/5/2, Aitor Santamaría <[EMAIL PROTECTED]>:
> I have redefined MK_FP as
> (void *)((unsigned long)((unsigned short)(seg)*0x100)+((unsigned short)ofs))

I have redefined it as the more logical:

(void *)(((unsigned long)(seg)<<16)|((unsigned short)ofs))

which gives the "shift amount too large" warning no more.

About the other stuff (why constant initialisations with :> are not
allowed) I've asked to OpenWatcom groups.

Aitor

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to