summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qelfparser_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/plugin/qelfparser_p.h')
-rw-r--r--src/corelib/plugin/qelfparser_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/plugin/qelfparser_p.h b/src/corelib/plugin/qelfparser_p.h
index 2ecdc4e786..145f00df43 100644
--- a/src/corelib/plugin/qelfparser_p.h
+++ b/src/corelib/plugin/qelfparser_p.h
@@ -89,9 +89,9 @@ public:
T read(const char *s)
{
if (m_endian == ElfBigEndian)
- return qFromBigEndian<T>(reinterpret_cast<const uchar *>(s));
+ return qFromBigEndian<T>(s);
else
- return qFromLittleEndian<T>(reinterpret_cast<const uchar *>(s));
+ return qFromLittleEndian<T>(s);
}
const char *parseSectionHeader(const char* s, ElfSectionHeader *sh);