diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-09-01 16:40:27 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-09-01 16:40:27 +0200 |
commit | f8c20067ac98a79de7c4d0c118ceb37338263034 (patch) | |
tree | 575ca577a686f7724b3681d3ad5635f91d4aeebd /kpacman/board.cpp | |
parent | c83d313b75a94b616158be8cbc57a7717f3ec0e1 (diff) | |
download | tdepacman-f8c20067ac98a79de7c4d0c118ceb37338263034.tar.gz tdepacman-f8c20067ac98a79de7c4d0c118ceb37338263034.zip |
Remove the -fpermissive definition.
invalid conversion from ‘const char*’ to ‘const uchar*’
With contribution from Slávek Banko.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/board.cpp')
-rw-r--r-- | kpacman/board.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpacman/board.cpp b/kpacman/board.cpp index 8a07310..621a086 100644 --- a/kpacman/board.cpp +++ b/kpacman/board.cpp @@ -93,7 +93,7 @@ void Board::init(Image image, TQString levelName) break; case Level : setup(demo_bits); break; - case File : setup(map.latin1()); + case File : setup(reinterpret_cast<const unsigned char *>(map.latin1())); break; default : break; } |