LCDproc development and user support list

Text archives Help


CFontz ROM version and driver issue was: Re: [Lcdproc] Proble m with 0.4.1 and CFontz


Chronological Thread 
  • From: reenoo AT gmx.de (Rene Wagner)
  • Subject: CFontz ROM version and driver issue was: Re: [Lcdproc] Proble m with 0.4.1 and CFontz
  • Date: Sun Dec 2 14:06:02 2001

"David GLAUDE Mailing"
<dglaudemailing AT gmx.net>
wrote:
> An yeah you have discovered that = and == (2 here) mean different things.
> ;-)

Sorry! My fault! :(

> Now I guess if (c == 255) make an error/warning it might be that
> c is a char and sometime a char is signed this mean from -127 to 128 ???
> You could try (c == -1) where -1 and 255 is really the same thing.

Seems to be true :( But why the ... is c = 255 accepted w/out warning?

>
> C (the language) is sometime a strange thing. ;-)
>

Not in general ;) Only if you've been punished with coding in ugly languages
like Pascal at school for more than two years (like me) ;)

Rene





Archive powered by MHonArc 2.6.18.

Top of page