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/win95/mishchnk.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/win95/mishchnk.hpp') 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 -- cgit v1.3