D11845: Make clang happy.

Raphael Kubo da Costa noreply at phabricator.kde.org
Sun Apr 29 12:33:20 UTC 2018


rakuco added inline comments.

INLINE COMMENTS

> chatnavservicetask.cpp:106
>      FLAP f =  { 0x02, 0, 0x00 };
> -    SNAC s = { 0x000D, m_type, 0x0000, client()->snacSequence() };
> +    SNAC s = { 0x000D, static_cast<WORD>(m_type), 0x0000, client()->snacSequence() };
>      Buffer* b = new Buffer();

Alternatively, you can explicitly declare `RequestType`'s underlying integer type in the header:

  enum RequestType : DWORD { ... };

REPOSITORY
  R434 Kopete

REVISION DETAIL
  https://phabricator.kde.org/D11845

To: tcberner, #freebsd, pali
Cc: rakuco, #kopete, himanshuvishwakarma, cochise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kopete-devel/attachments/20180429/c6216f05/attachment.html>


More information about the kopete-devel mailing list