This patch gets rid of a compile time dprintf warning.
A 'long int' was being passed to a '%d'.
Signed-off-by: Dave Frodin
---
src/post.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/post.c b/src/post.c
index 924b311..b84d19e 100644
--- a/src/post.c
+++ b/src
Here's a patch that's been lingering awhile.
thanks,
Dave
- Original Message -
> From: "Dave Frodin"
> To: "seabios"
> Sent: Wednesday, October 17, 2012 9:30:01 AM
> Subject: Get rid of a compile time dprintf warning
> This patch gets rid of a compile time dprintf warning.
> A 'long
in O'Connor"
> To: "Dave Frodin"
> Cc: "seabios"
> Sent: Wednesday, January 9, 2013 4:54:28 PM
> Subject: Re: [SeaBIOS] Get rid of a compile time dprintf warning
>
> On Wed, Jan 09, 2013 at 08:34:18AM -0600, Dave Frodin wrote:
> > Here's a
On Wed, Jan 09, 2013 at 08:34:18AM -0600, Dave Frodin wrote:
> Here's a patch that's been lingering awhile.
> thanks,
Thanks. I don't receive a warning for this - what is the exact
warning you receive? I don't see why gcc would convert (datalow_end -
datalow_start) to a long.
-Kevin
On Wed, Jan 09, 2013 at 06:03:24PM -0600, Dave Frodin wrote:
> Kevin,
>
> Here are some of the lines from the output stream...
>
> Compile checking out/esp-scsi.o
> Compile checking out/megasas.o
> Compile checking out/post.o
> src/post.c: In function 'reloc_init':
> src/post.c:350:5: warni
On 01/10/13 00:54, Kevin O'Connor wrote:
> On Wed, Jan 09, 2013 at 08:34:18AM -0600, Dave Frodin wrote:
>> Here's a patch that's been lingering awhile.
>> thanks,
>
> Thanks. I don't receive a warning for this - what is the exact
> warning you receive? I don't see why gcc would convert (datalo
Thanks for looking into this.
I'm using gcc version 4.6.3
> >
> > I'm building this in cygwin, and using our (Sage's) toolchain.
>
> What version of gcc is it?
>
> If I change the format to %ld I get:
>
> Compile checking out/post.o
> src/post.c: In function ‘reloc_init’:
> src/post.c:350:5