summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/superiotool.c')
-rw-r--r--util/superiotool/superiotool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/superiotool/superiotool.c b/util/superiotool/superiotool.c
index c70aff947c..5ee383ce34 100644
--- a/util/superiotool/superiotool.c
+++ b/util/superiotool/superiotool.c
@@ -80,7 +80,7 @@ static void dump_regs(const struct superio_registers reg_table[],
int i, int j, uint16_t port)
{
int k;
- const int *idx;
+ const int16_t *idx;
if (reg_table[i].ldn[j].ldn != NOLDN) {
printf("LDN 0x%02x", reg_table[i].ldn[j].ldn);