Clean up many C99 integer types format specifiers
[fw/openocd] / src / flash / nor / stmsmi.c
index 3c186fdd0cd91316ef94156bd4f24eb6b86126d5..9a715ef947d3ee85876afe5da532f621f4492b36 100644 (file)
@@ -638,7 +638,7 @@ static int get_stmsmi_info(struct flash_bank *bank, char *buf, int buf_size)
        }
 
        snprintf(buf, buf_size, "\nSMI flash information:\n"
-               "  Device \'%s\' (ID 0x%08x)\n",
+               "  Device \'%s\' (ID 0x%08" PRIx32 ")\n",
                stmsmi_info->dev->name, stmsmi_info->dev->device_id);
 
        return ERROR_OK;