summaryrefslogtreecommitdiff
path: root/drivers/fpga/virtex2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/fpga/virtex2.c')
-rw-r--r--drivers/fpga/virtex2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/fpga/virtex2.c b/drivers/fpga/virtex2.c
index 51b8d31205..e769ceebc1 100644
--- a/drivers/fpga/virtex2.c
+++ b/drivers/fpga/virtex2.c
@@ -330,7 +330,7 @@ static int virtex2_ssm_load(xilinx_desc *desc, const void *buf, size_t bsize)
#endif
if ((*fn->done)(cookie) == FPGA_SUCCESS) {
- PRINTF("%s:%d:done went active early, bytecount = %d\n",
+ PRINTF("%s:%d:done went active early, bytecount = %zu\n",
__func__, __LINE__, bytecount);
break;
}
@@ -465,7 +465,7 @@ static int virtex2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize)
#endif
if ((*fn->done)(cookie) == FPGA_SUCCESS) {
- PRINTF("%s:%d:done went active early, bytecount = %d\n",
+ PRINTF("%s:%d:done went active early, bytecount = %zu\n",
__func__, __LINE__, bytecount);
break;
}