[comp.sys.ibm.pc] MSC 6.00

kianusch@unigold.UUCP (Kianusch Sayah Karadji) (08/10/90)

Hi There...

asuuming following code...
---

void test (short variable)
{
    _asm {
	[...]
	mov al, variable
	[...]
    }
    return;
}

---
compiling with 'cl -c test.c' gives no error messages... but
compiling with 'cl -c -W4 test.c' I get a warning complaining about
different types... Well he's right... but how do I cast the 'short'
to a 'char' during InLine Assemly???

Please Email... do not Post the answer, because we don't get these
Newsgroups here... Thanx...

						Kianusch
					...!hermix!unigold!kianusch
					...!pacbell!unicom!kianusch