[opendmarc-dev] OpenDMARC-1.1.0 Beta0

Andreas Schulze sca at andreasschulze.de
Mon Feb 4 22:59:46 PST 2013


Hi,

these warnings differ from the usual "const char *" <-> "u_char *" messages.

opendmarc_dns.c: In function 'dmarc_dns_get_record':
opendmarc_dns.c:216: warning: passing argument 2 of 'opendmarc_policy_library_dns_hook' from incompatible pointer type
opendmarc_internal.h:224: note: expected 'struct sockaddr_in **' but argument is of type 'struct sockaddr_in (*)[3]'

opendmarc.c:2557: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
/usr/include/stdio.h:363: note: expected 'char * restrict' but argument is of type 'unsigned char *'

opendmarc.c: In function 'dmarcf_mkarray':
opendmarc.c:740: warning: 'ctx' may be used uninitialized in this function
opendmarc.c:741: warning: 'out' may be used uninitialized in this function
opendmarc.c: In function 'mlfi_eom':
opendmarc.c:1931: warning: 'spfaddr' may be used uninitialized in this function

Andreas



More information about the opendmarc-dev mailing list