Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-10 Thread Laszlo Ersek
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 (datalow_end -

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-10 Thread Dave Frodin
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: warning:

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Dave Frodin
Here's a patch that's been lingering awhile. thanks, Dave - Original Message - From: Dave Frodin dave.fro...@se-eng.com To: seabios seabios@seabios.org Sent: Wednesday, October 17, 2012 9:30:01 AM Subject: Get rid of a compile time dprintf warning This patch gets rid of a

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Dave Frodin
-eng.com Cc: seabios seabios@seabios.org 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 patch that's been lingering awhile. thanks, Thanks. I don't receive

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Kevin O'Connor
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

Re: [SeaBIOS] Get rid of a compile time dprintf warning

2013-01-09 Thread Kevin O'Connor
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: warning: