Author: ward Date: 2007-09-25 00:02:31 +0200 (Tue, 25 Sep 2007) New Revision: 2805
Modified: trunk/util/superiotool/superiotool.c Log: Fix compilation warning.
Signed-off-by: Ward Vandewege ward@gnu.org Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/util/superiotool/superiotool.c =================================================================== --- trunk/util/superiotool/superiotool.c 2007-09-24 20:00:32 UTC (rev 2804) +++ trunk/util/superiotool/superiotool.c 2007-09-24 22:02:31 UTC (rev 2805) @@ -75,7 +75,8 @@ static void dump_regs(const struct superio_registers reg_table[], int i, int j, uint16_t port) { - int k, *idx; + int k; + const int *idx;
if (reg_table[i].ldn[j].ldn != NOLDN) { printf("LDN 0x%02x ", reg_table[i].ldn[j].ldn);