commit | d98f2d32d1e663bfb7a069a1623de15df6be765d | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Sat Feb 28 16:07:55 2015 -0300 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Sat Feb 28 16:07:55 2015 -0300 |
tree | 38fce0798e261c1a2751081fdd003d29394d9a9e | |
parent | 22df456760cf9e42302235c82125c2eb578050b2 [diff] |
Avoid sign-extension error on multiplication Do not promote "idx * elf->header.section.entry_size" to int. Explicitly cast the result to uint64_t so it's zero-extended.