> Reopened on request of OP.
>
> It seems clear to me that the attempted fix in r 9363 doesn't solve the
> OP's problem, since it would preserve *negative* char (int) values.
>
> Using both casts looks appropriate to make sure char codes > 127 are
> positive int's.
>
> Nikita, could you please confirm that svn r9635 solves the problem?
> Leaving the STR open for confirmation...

Hi, Albrecht. At the moment fluid works very well.
But I don't understand why you had not removed the (int). isspace((unsigned 
char)*n)) is enough!

Compilers (I tested VC++, mingw-gcc, ubuntu-gcc) cast to type int in any case 
and they print no warning because it's absolutely safe. We only say to 
compiler: "Don't extend the sign bit when you will convert our character to 
int".

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to