summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/mc146818rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pc80/mc146818rtc.c b/src/pc80/mc146818rtc.c
index 592a0a52f1..c39992bc2d 100644
--- a/src/pc80/mc146818rtc.c
+++ b/src/pc80/mc146818rtc.c
@@ -231,7 +231,7 @@ static int get_cmos_value(unsigned long bit, unsigned long length, void *vret)
return 0;
}
-int get_option(void *dest, char *name)
+int get_option(void *dest, const char *name)
{
extern struct cmos_option_table option_table;
struct cmos_option_table *ct;