diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-09-10 20:04:38 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-09-13 20:59:50 -0700 |
commit | 55e565c763cdd381904d9378b8a668331c4e40f5 (patch) | |
tree | f187b6831a92298790793d2b31d5ffd8182d717d /src/corelib/plugin/qelfparser_p.cpp | |
parent | 96d21faa0156bbf0707b6ef1642245fdd2d55d00 (diff) |
QElfParser: don't use int for the enum
An enum shows the proper values in the debugger...
Pick-to: 6.2
Change-Id: I2de1b4dfacd443148279fffd16a3a5848196983c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/corelib/plugin/qelfparser_p.cpp')
-rw-r--r-- | src/corelib/plugin/qelfparser_p.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp index 777eed3c34..84373795f6 100644 --- a/src/corelib/plugin/qelfparser_p.cpp +++ b/src/corelib/plugin/qelfparser_p.cpp @@ -63,7 +63,8 @@ const char *QElfParser::parseSectionHeader(const char *data, ElfSectionHeader *s return data; } -int QElfParser::parse(const char *dataStart, ulong fdlen, const QString &library, QLibraryPrivate *lib, qsizetype *pos, qsizetype *sectionlen) +auto QElfParser::parse(const char *dataStart, ulong fdlen, const QString &library, + QLibraryPrivate *lib, qsizetype *pos, qsizetype *sectionlen) -> ScanResult { #if defined(QELFPARSER_DEBUG) qDebug() << "QElfParser::parse " << library; |