QElfParser: fix type of sh_size
authorPino Toscano <toscano.pino@tiscali.it>
Tue, 15 May 2012 12:40:15 +0000 (14:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 15 May 2012 18:44:36 +0000 (20:44 +0200)
commit77b179689ba37dc909778fdd00df2701f83a2868
treea64444564b7cd99ed14681bf5a8403624a5dface
parent8a0f48ab65942dd529862f5dd9abd289495cf2f9
QElfParser: fix type of sh_size

The type of the sh_size field of a section header is either Elf32_Word or Elf64_Xword,
so the type used cannot be qelfword_t (always 32 bits) but qelfoff_t.

Change-Id: Ia380b6823913fee7a96b39f742630ae3a9ca0cb8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Arvid Picciani <arvid.picciani@nokia.com>
src/corelib/plugin/qelfparser_p.cpp
src/corelib/plugin/qelfparser_p.h