On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote:

Hi,

>     ; QUESTION: There is one suspiciously looking usage:
>                 ftattr.c / iColor = ( HB_UCHAR ) *pAttrib++;
>                 Is it ok?

Yes of course.
'char' is usually signed type so values like 0x80 will be translated
to -128 without such casting so it's extremely important have it in
such places.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to