You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/ostinato/files/ostinato-0.9_p20180522-buil...

18 lines
542 B

--- a/common/mld.cpp 2018-05-22 18:18:21.000000000 +0200
+++ b/common/mld.cpp 2018-06-26 13:59:58.562569302 +0200
@@ -24,6 +24,14 @@
#include <QHostAddress>
#include <QStringList>
+template <> inline Q_DECL_CONSTEXPR unsigned long qbswap<unsigned long>(unsigned long source) {
+ if (sizeof(unsigned long) == 8) {
+ return qbswap<quint64>(quint64(source));
+ } else {
+ return qbswap<quint32>(quint32(source));
+ }
+}
+
MldProtocol::MldProtocol(StreamBase *stream, AbstractProtocol *parent)
: GmpProtocol(stream, parent)
{