Fix int-long mismatch in device discovery
Change-Id: I506fc206e68d57b67524cedf99896db1cff1694f Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
This commit is contained in:
parent
115f45ff41
commit
5cbdba588a
@ -57,7 +57,7 @@
|
|||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LONG_BITS (sizeof(int) * 8 )
|
#define LONG_BITS (sizeof(long) * 8 )
|
||||||
#define LONG_FIELD_SIZE(bits) ((bits / LONG_BITS) + 1)
|
#define LONG_FIELD_SIZE(bits) ((bits / LONG_BITS) + 1)
|
||||||
|
|
||||||
static bool testBit(long bit, const long *field)
|
static bool testBit(long bit, const long *field)
|
||||||
|
Loading…
Reference in New Issue
Block a user