]> git.sur5r.net Git - openocd/commitdiff
Fix warning.
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 13 Oct 2009 10:22:23 +0000 (12:22 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 13 Oct 2009 10:22:23 +0000 (12:22 +0200)
src/target/arm11_dbgtap.c

index 57685cfd7e421d9ded249eacbe60ab5f30fb4ed2..c9812a1526ff6d42dbaf81d0dc1a56731491909c 100644 (file)
@@ -590,7 +590,7 @@ int arm11_run_instr_data_to_core_noack(arm11_common_t * arm11, uint32_t opcode,
        Readies = (uint8_t *) malloc(bytes);
        if (Readies == NULL)
        {
-               LOG_ERROR("Out of memory allocating %d bytes", bytes);
+               LOG_ERROR("Out of memory allocating " ZU " bytes", bytes);
                return ERROR_FAIL;
        }