aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-10-13 11:57:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2018-10-13 11:57:21 -0700
commit749fc3804dd27d1566e4a38f2d1c080100da5bcb (patch)
tree1e9df496eeafd1e5c6e96c53dc63f0aa70d9ae34
parent0a696a214c509f0e43187fd18a7555371c5aad73 (diff)
downloadgrv-749fc3804dd27d1566e4a38f2d1c080100da5bcb.tar.gz
grv-749fc3804dd27d1566e4a38f2d1c080100da5bcb.tar.xz
grv-749fc3804dd27d1566e4a38f2d1c080100da5bcb.zip
highscore.c: add const to string pointer
-rw-r--r--highscore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/highscore.c b/highscore.c
index f47eeaf..3371174 100644
--- a/highscore.c
+++ b/highscore.c
@@ -95,7 +95,7 @@ static void enter_name(int rank, char *player)
SDL_KeyboardEvent *ke;
int len = 0;
char sbuf[2];
- char *s;
+ const char *s;
sbuf[1] = '\0';