diff --git a/urjtag/src/bus/ejtag.c b/urjtag/src/bus/ejtag.c index 77bba4ba..4fb9eebb 100644 --- a/urjtag/src/bus/ejtag.c +++ b/urjtag/src/bus/ejtag.c @@ -344,7 +344,7 @@ ejtag_bus_init (urj_bus_t *bus) printf ("EJTAG version: 3.1\n"); break; default: - printf ("EJTAG version: unknown (%d)\n", EJTAG_VER); + printf ("EJTAG version: unknown (%lu)\n", (long unsigned) EJTAG_VER); } printf ("EJTAG Implementation flags:%s%s%s%s%s%s%s\n", (BP->impcode & (1 << 28)) ? " R3k" : " R4k", diff --git a/urjtag/src/bus/ejtag_dma.c b/urjtag/src/bus/ejtag_dma.c index b7711426..e9538a1c 100644 --- a/urjtag/src/bus/ejtag_dma.c +++ b/urjtag/src/bus/ejtag_dma.c @@ -425,7 +425,7 @@ ejtag_dma_bus_init (urj_bus_t *bus) printf ("EJTAG version: 2.6\n"); break; default: - printf ("EJTAG version: unknown (%d)\n", EJTAG_VER); + printf ("EJTAG version: unknown (%lu)\n", (long unsigned) EJTAG_VER); } printf ("EJTAG Implementation flags:%s%s%s%s%s%s%s\n", (BP->impcode & (1 << 28)) ? " R3k" : " R4k",