Committed revision 1882.


On May 21, 2009, at 11:43 AM, Rick Altherr wrote:


On May 21, 2009, at 11:24 AM, David Brownell wrote:

On Thursday 21 May 2009, Rick Altherr wrote:
I believe the fix for
off_t should be portable, but I'm less certain of the struct timeval
fix.

The timeval fix looks like it reverses a fix I needed:

pld.c: In function ‘handle_pld_load_command’:
pld.c:194: error: format ‘%i’ expects type ‘int’, but argument 6 has type ‘__suseconds_t’

Maybe you can just cast it to "int" and use "%d".


Yeah, given that it is an integer and of variable size, casting to intmax_t is probably appropriate. Please try the attached patch.

<printf-fixes.patch>

--
Rick Altherr
[email protected]

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned



_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

--
Rick Altherr
[email protected]

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
 -- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to