avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] format '%5.2f' expects type 'double', but argument 6 has


From: Joerg Wunsch
Subject: Re: [avr-chat] format '%5.2f' expects type 'double', but argument 6 has type 'float'
Date: Fri, 3 Feb 2012 21:36:05 +0100 (MET)

Rick Mann <address@hidden> wrote:

> I'd just like to get rid of the warning, which seems moot (since
> there's no alternative specifier, is there?).

Cast the float argument to (double).

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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