This is an automated email from Gerrit. Jens Bauer ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2360
-- gerrit commit b15a0eed4403797842544353845d94a28d9cafca Author: Jens Bauer <[email protected]> Date: Tue Oct 28 05:14:05 2014 +0100 Mac/PPC: Fix build. GCC-4.2 on Mac/PPC complains about size_t is expected for %zx and the build stops. In order to avoid other problems, I've chosen simply to typecast. Change-Id: I99b569c4d1100e729712e31d24d6539f8b5971b6 Signed-off-by: Jens Bauer <[email protected]> diff --git a/src/target/target.c b/src/target/target.c index d7a2c48..610fb55 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -906,7 +906,7 @@ int target_run_flash_async_algorithm(struct target *target, } LOG_DEBUG("offs 0x%zx count 0x%" PRIx32 " wp 0x%" PRIx32 " rp 0x%" PRIx32, - (buffer - buffer_orig), count, wp, rp); + (size_t) (buffer - buffer_orig), count, wp, rp); if (rp == 0) { LOG_ERROR("flash write algorithm aborted by target"); -- ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
