From c4409487fdb2822309b9d8cf79bcd7d3895b8390 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 22 Apr 2020 02:36:36 +0200 Subject: Const correct (most) strings At least those cases that are reported by gcc and/or clang. --- src/fixer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fixer.h') diff --git a/src/fixer.h b/src/fixer.h index 288d22c..fff20c3 100644 --- a/src/fixer.h +++ b/src/fixer.h @@ -174,7 +174,7 @@ int CloseHandle(HANDLE file); int DeleteFile(const char *file); int DeleteFileA(const char *file); int GetDiskFreeSpace(int x, unsigned long *a, unsigned long *b, unsigned long *c, unsigned long *d); -int CreateDirectory(char *dir, int x); +int CreateDirectory(const char *dir, int x); int MoveFile(const char *newfile, const char *oldfile); int MoveFileA(const char *newfile, const char *oldfile); int CopyFile(const char *newfile, const char *oldfile, int x); -- cgit v1.3