summaryrefslogtreecommitdiff
path: root/src/winapi.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/winapi.c
parent8ddbab1cc2ea2f1728db5e584a7dd16a9b9df6b1 (diff)
Const correct (most) strings
At least those cases that are reported by gcc and/or clang.
Diffstat (limited to 'src/winapi.c')
-rw-r--r--src/winapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winapi.c b/src/winapi.c
index 58ca183..eaa6ec4 100644
--- a/src/winapi.c
+++ b/src/winapi.c
@@ -141,7 +141,7 @@ int GetDiskFreeSpace(int x, unsigned long *a, unsigned long *b, unsigned long *c
return 0;
}
-int CreateDirectory(char *dir, int lpSecurityAttributes)
+int CreateDirectory(const char *dir, int lpSecurityAttributes)
{
fprintf(stderr, "CreateDirectory(%s, %d)\n", dir, lpSecurityAttributes);