diff options
author | Ralf Nolden <nolden@kde.org> | 2016-05-22 13:59:27 +0200 |
---|---|---|
committer | Ralf Nolden <nolden@kde.org> | 2016-05-23 09:51:22 +0000 |
commit | 9b153f989bcc40fed85d5cbd8a489c6e0eb5c9c7 (patch) | |
tree | 778c61d3f7fb7c11b912f57c17d152083e720851 /src/corelib/io/qfilesystemwatcher_kqueue.cpp | |
parent | 14ae00dd50ed4a75c2efa0b34da971b0e252e124 (diff) |
Compile fix: convert argument to long to match parameter comparison
GCC creates a warning "enumeral and non-enumeral type in conditional
expression" as the types of the two arguments don't match. Fix
the compile warning by converting the first argument to (long) to match
the type of the second parameter.
Fix confirmed to work on NetBSD and FreeBSD, obtained from
Kamil Rytarowski <n54@gmx.com>, NetBSD qt ports maintainer.
Change-Id: I777dd066a0a8cc8a46e34bd39b256882080a7773
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_kqueue.cpp')
0 files changed, 0 insertions, 0 deletions