Skip to content

Commit

Permalink
Merge branch 'master' into 'master'
Browse files Browse the repository at this point in the history
[Qt] QFlag won't take a ulong on an LP64 environment. Contributes JB#36790

QFlag has several constructors, and they all just convert to an int anyway.

See merge request !6
  • Loading branch information
abranson committed Nov 21, 2016
2 parents 767ef11 + 4b6ced0 commit 6c56890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/qcontactstatusflags_impl.h
Expand Up @@ -55,7 +55,7 @@ void QContactStatusFlags::setFlags(Flags flags)

QContactStatusFlags::Flags QContactStatusFlags::flags() const
{
return Flags(static_cast<ulong>(flagsValue()));
return Flags(static_cast<uint>(flagsValue()));
}

void QContactStatusFlags::setFlagsValue(quint64 value)
Expand Down

0 comments on commit 6c56890

Please sign in to comment.