diff options
| author | Timotej Lazar <timotej.lazar@araneo.si> | 2020-04-22 02:36:36 +0200 |
|---|---|---|
| committer | Timotej Lazar <timotej.lazar@araneo.si> | 2020-05-30 02:32:30 +0200 |
| commit | c4409487fdb2822309b9d8cf79bcd7d3895b8390 (patch) | |
| tree | a1ee3d42957601787121e8784dc7f8088b70a9ce /src/fixer.h | |
| parent | 8ddbab1cc2ea2f1728db5e584a7dd16a9b9df6b1 (diff) | |
Const correct (most) strings
At least those cases that are reported by gcc and/or clang.
Diffstat (limited to 'src/fixer.h')
| -rw-r--r-- | src/fixer.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
