[dovecot/core] 401f32: lib: add explicit casts to byteorder macros

GitHub noreply at github.com
Mon Jun 12 18:00:14 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 401f3220d46a92cb6003eb2149a978ed239dee5f
      https://github.com/dovecot/core/commit/401f3220d46a92cb6003eb2149a978ed239dee5f
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
    M src/lib/byteorder.h

  Log Message:
  -----------
  lib: add explicit casts to byteorder macros

Some consumers of lib.h are in C++ and therefore they try to compile
byteorder.h as C++ code.  C++ compilers don't like the implicit void *
-> struct anything * conversion, so we squelch those by adding explicit
casts.




More information about the dovecot-cvs mailing list