Commit 54a2693f authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Adding a comment marking readPsid & co issue origin

parent d82049be
......@@ -99,6 +99,7 @@ public:
/// @tparam integer type.
template<typename T>
void writeInt(T value, std::vector<uint8_t>& buf) {
// This loop is incorrectly compiled by some old g++?!
for (int i = 0; i < sizeof(T); ++i) {
buf.push_back(value >> ((sizeof(T) - i - 1) * 8) & 0xFF);
}
......
......@@ -44,6 +44,7 @@ public:
/// @tparam integer type.
template<typename T>
void writeInt(T value, std::vector<uint8_t>& buf) {
// This loop is incorrectly compiled by some old g++?!
for (int i = 0; i < sizeof(T); ++i) {
buf.push_back(value >> ((sizeof(T) - i - 1) * 8) & 0xFF);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment