diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-05-19 22:27:26 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-05-19 22:27:26 +0200 |
commit | eb30230359309de8972d771cbf282097b1175a09 (patch) | |
tree | 78342b321820ec6ce5c9a3636574ea174ee40283 /storage/connect/tabsys.h | |
parent | 6dcc378964a1a35c0c95b6963b73224e52cf4cad (diff) | |
download | mariadb-git-eb30230359309de8972d771cbf282097b1175a09.tar.gz |
compilation warnings in Connect
Diffstat (limited to 'storage/connect/tabsys.h')
-rw-r--r-- | storage/connect/tabsys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/connect/tabsys.h b/storage/connect/tabsys.h index 44b5a137a70..0c6017af177 100644 --- a/storage/connect/tabsys.h +++ b/storage/connect/tabsys.h @@ -62,7 +62,7 @@ class TDBINI : public TDBASE { virtual int GetProgCur(void) {return N;} //virtual int GetAffectedRows(void) {return 0;} virtual PCSZ GetFile(PGLOBAL g) {return Ifile;} - virtual void SetFile(PGLOBAL g, PSZ fn) {Ifile = fn;} + virtual void SetFile(PGLOBAL g, PCSZ fn) {Ifile = fn;} virtual void ResetDB(void) {Seclist = Section = NULL; N = 0;} virtual void ResetSize(void) {MaxSize = -1; Seclist = NULL;} virtual int RowNumber(PGLOBAL g, bool b = false) {return N;} @@ -80,7 +80,7 @@ class TDBINI : public TDBASE { protected: // Members - char *Ifile; // The INI file + PCSZ Ifile; // The INI file char *Seclist; // The section list char *Section; // The current section int Seclen; // Length of seclist buffer |