summaryrefslogtreecommitdiff
path: root/src/main2.c
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2020-04-22 02:36:36 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2020-05-30 02:32:30 +0200
commitc4409487fdb2822309b9d8cf79bcd7d3895b8390 (patch)
treea1ee3d42957601787121e8784dc7f8088b70a9ce /src/main2.c
parent8ddbab1cc2ea2f1728db5e584a7dd16a9b9df6b1 (diff)
Const correct (most) strings
At least those cases that are reported by gcc and/or clang.
Diffstat (limited to 'src/main2.c')
-rw-r--r--src/main2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main2.c b/src/main2.c
index c5f7ce5..c600d35 100644
--- a/src/main2.c
+++ b/src/main2.c
@@ -423,12 +423,12 @@ void NextVideoMode2()
CurrentVideoMode = cur;
}
-char *GetVideoModeDescription2()
+const char *GetVideoModeDescription2()
{
return "SDL2";
}
-char *GetVideoModeDescription3()
+const char *GetVideoModeDescription3()
{
static char buf[64];