summaryrefslogtreecommitdiffstats
path: root/source/dialogs/run.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-23 21:52:55 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-23 22:15:27 +0100
commitad778b7dc107ddc851fdb9e249ca2aa340766d93 (patch)
tree074e33786a0239e03ab8d978fed97f8f0302f0ec /source/dialogs/run.c
parent84daf5fd6ce04b3ba763d2aaaf75aee4d29ad44a (diff)
Const making.
Diffstat (limited to 'source/dialogs/run.c')
-rw-r--r--source/dialogs/run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/dialogs/run.c b/source/dialogs/run.c
index e1a5e3a4..29af9611 100644
--- a/source/dialogs/run.c
+++ b/source/dialogs/run.c
@@ -276,9 +276,9 @@ static void run_mode_init ( Switcher *sw )
}
}
-static unsigned int run_mode_get_num_entries ( Switcher *sw )
+static unsigned int run_mode_get_num_entries ( const Switcher *sw )
{
- RunModePrivateData *rmpd = (RunModePrivateData *) sw->private_data;
+ const RunModePrivateData *rmpd = (const RunModePrivateData *) sw->private_data;
return rmpd->cmd_list_length;
}