mirror of
https://github.com/ksherlock/wdc-utils.git
synced 2025-01-05 20:32:42 +00:00
gcc 5 doesn't support enum : uint8_t...
This commit is contained in:
parent
add8545906
commit
6aa54979a9
4
omf.cpp
4
omf.cpp
@ -330,9 +330,9 @@ uint32_t add_relocs(std::vector<uint8_t> &data, size_t data_offset, omf::segment
|
|||||||
if (tmp.empty()) continue;
|
if (tmp.empty()) continue;
|
||||||
|
|
||||||
reloc_size += tmp.size() + 6;
|
reloc_size += tmp.size() + 6;
|
||||||
push(data, omf::SUPER);
|
data.push_back(omf::SUPER);
|
||||||
push(data, ((uint32_t)tmp.size() + 1));
|
push(data, ((uint32_t)tmp.size() + 1));
|
||||||
push(data, (uint8_t)i);
|
data.push_back(i);
|
||||||
|
|
||||||
data.insert(data.end(), tmp.begin(), tmp.end());
|
data.insert(data.end(), tmp.begin(), tmp.end());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user