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/win95/mishchnk.hpp | |
| parent | 8ddbab1cc2ea2f1728db5e584a7dd16a9b9df6b1 (diff) | |
Const correct (most) strings
At least those cases that are reported by gcc and/or clang.
Diffstat (limited to 'src/win95/mishchnk.hpp')
| -rw-r--r-- | src/win95/mishchnk.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win95/mishchnk.hpp b/src/win95/mishchnk.hpp index 438f99b..78d153a 100644 --- a/src/win95/mishchnk.hpp +++ b/src/win95/mishchnk.hpp @@ -12,7 +12,7 @@ #define twprintf printf -extern char * users_name; +extern const char * users_name; class File_Chunk; @@ -38,7 +38,7 @@ public: // to see if the current chunk is the same one virtual const char * get_head_id() = 0; - virtual void set_lock_user(char *) = 0; + virtual void set_lock_user(const char *) = 0; // this function will lock the chunk if it can - // will return true on success or if the chunk has |
