mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
replace C-style cast with reinterpret_cast in qt_unix_query() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
9244bccb83
commit
fb7e417299
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ static bool qt_unix_query(const QString &library, uint *version, bool *debug, QL
|
|||
}
|
||||
|
||||
ulong fdlen = file.size();
|
||||
const char *filedata = (char *) file.map(0, fdlen);
|
||||
const char *filedata = reinterpret_cast<char*>(file.map(0, fdlen));
|
||||
if (filedata == 0) {
|
||||
// try reading the data into memory instead
|
||||
const QByteArray data = file.readAll();
|
||||
|
|
Loading…
Add table
Reference in a new issue