unsigned char -> unsigned int conversion

guy at rlgvax.UUCP guy at rlgvax.UUCP
Sat Jun 16 12:39:45 AEST 1984


The C language does permit "unsigned short int" and "unsigned long int".
The fact that one can say "unsigned short x;" or "unsigned long x;" on many
compilers can be considered either a side-effect of the compilers being used,
or a consequence of the rules permitting "register x;" or even "x[30];" (give
a look at the "cb" source sometime).  If either K or R are reading this,
could they give an authoritative answer to the question of whether
"unsigned short x;" should be considered legal or not?

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy



More information about the Comp.unix.wizards mailing list