[dovecot/core] d9f9b2: str_data(): cast return to correct type to fix inc...

GitHub noreply at github.com
Thu Jun 14 10:00:05 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d9f9b2370155d70a0768f1546120a2a0fced851b
      https://github.com/dovecot/core/commit/d9f9b2370155d70a0768f1546120a2a0fced851b
  Author: Danny Al-Gaaf <danny.al-gaaf at bisect.de>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/lib/str.h

  Log Message:
  -----------
  str_data(): cast return to correct type to fix include in c++ code

/usr/include/dovecot/str.h: In function ‘const unsigned char* str_data(const string_t*)’:
/usr/include/dovecot/str.h:22:14: warning: invalid conversion from ‘const void*’ to ‘const unsigned char*’ [-fpermissive]
  return str->data;
   ~~~~~^~~~

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf at bisect.de>



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list