lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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