Fix compile warnings with clang

Authored by kfunk on Apr 6 2017, 11:51 PM.

Description

Fix compile warnings with clang

Summary:
I'm fairly sure '!=' is the intended meaning in the first two hunks.

No idea at all what the bit-hack-with-narrowing-conversions is meant to do, but nothing actually seems to use it (in any kdev*).

Test Plan: Compiles, the tests pass. kdev-php hasn't obviously blown up.

Reviewers: KDevelop, kfunk

Reviewed By: KDevelop, kfunk

Subscribers: kfunk, apol, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D5125

Details

Committed
kfunkApr 6 2017, 11:51 PM
Reviewer
KDevelop
Differential Revision
D5125: Fix compile warnings with clang
Parents
R51:0a74d3a941ef: CMake: Don't run into CMP0048 warning
Branches
Unknown
Tags
Unknown