monit-dev
[Top][All Lists]
Advanced

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

Re: monit net.c p.y validate.c


From: Jan-Henrik Haukeland
Subject: Re: monit net.c p.y validate.c
Date: Wed, 22 Oct 2003 03:33:31 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux)

Rory Toma <address@hidden> writes:

> dest[len] = TOLOWER ((int)src[len]);

Of course int not char as I said. It's bedtime for me :)

> This gets rid of the warning... but, what is a good way to test
> this?

Well, it's only qualified casting and can't be wrong in this case
(Didn't the Darwin Award winner, who looked into his car's gas-tank
with a lighter also say that?). But if the warnings are gone it's good
enough for me :)

-- 
Jan-Henrik Haukeland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]