diff options
-rw-r--r-- | src/platformsupport/devicediscovery/qdevicediscovery_static.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp b/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp index bfb48d4275..3b6b6f40ca 100644 --- a/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp +++ b/src/platformsupport/devicediscovery/qdevicediscovery_static.cpp @@ -57,7 +57,7 @@ #include <QtDebug> #endif -#define LONG_BITS (sizeof(int) * 8 ) +#define LONG_BITS (sizeof(long) * 8 ) #define LONG_FIELD_SIZE(bits) ((bits / LONG_BITS) + 1) static bool testBit(long bit, const long *field) |