Fix int-long mismatch in device discovery

Change-Id: I506fc206e68d57b67524cedf99896db1cff1694f
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
This commit is contained in:
Laszlo Agocs 2012-05-31 08:52:58 +03:00 committed by Qt by Nokia
parent 115f45ff41
commit 5cbdba588a

View File

@ -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)