if (sizeof(a)==1) { j=((unsigned int)(a)) << ((sizeof(j)-1)*8);} else { j=((unsigned int)(a & 0xFF00)) << ((sizeof(j)-2)*8);}
E-mail: info@telesys.ru