printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n");
ret = XC_RESULT_RESET_FAILURE;
} else {
- printk(KERN_INFO "xc5000: firmware read %d bytes.\n", fw->size);
+ printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n",
+ fw->size);
ret = XC_RESULT_SUCCESS;
}