aboutsummaryrefslogtreecommitdiff
path: root/signpost.c
diff options
context:
space:
mode:
Diffstat (limited to 'signpost.c')
-rw-r--r--signpost.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/signpost.c b/signpost.c
index cdc958e..97beefd 100644
--- a/signpost.c
+++ b/signpost.c
@@ -1031,8 +1031,8 @@ static void connect_numbers(game_state *state)
static int compare_heads(const void *a, const void *b)
{
- struct head_meta *ha = (struct head_meta *)a;
- struct head_meta *hb = (struct head_meta *)b;
+ const struct head_meta *ha = (const struct head_meta *)a;
+ const struct head_meta *hb = (const struct head_meta *)b;
/* Heads with preferred colours first... */
if (ha->preference && !hb->preference) return -1;
@@ -2421,7 +2421,7 @@ static void process_desc(char *id)
thegame.free_params(p);
}
-int main(int argc, const char *argv[])
+int main(int argc, char *argv[])
{
char *id = NULL, *desc, *aux = NULL;
const char *err;