[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: [ANN] Lua 5.2.0 (work2) now available
- From: Bulat Ziganshin <bulat.ziganshin@...>
- Date: Fri, 15 Jan 2010 20:47:29 +0300
Hello Roberto,
Friday, January 15, 2010, 7:33:50 PM, you wrote:
> ci->callstatus = (ci->callstatus & ~(CIST_YPCALL | CIST_STAT)) | CIST_YIELDED;
why not
ci->callstatus = (unsigned char) ((ci->callstatus & ~(CIST_YPCALL | CIST_STAT)) | CIST_YIELDED);
?
> constant. (Moreover, the conversion should not be from 'long', but
> from 'int'. Or am I missing something??)
may be it's because "unsigned char -> unsigned -> long"?
--
Best regards,
Bulat mailto:Bulat.Ziganshin@gmail.com