[PATCH] Add casts on pid_t and mode_t for developer build on GNU/Solaris

Andrew Bartlett abartlet at samba.org
Thu Mar 14 17:48:43 MDT 2013


The attached patch allows me to build Samba in developer mode on a
GNU/Solaris derivative platform.

(It was failing due to -Wformat=error)

Most of the casts are to unsigned int, except for server.c where I
matched the rest of the file and cast to int.  

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnu-solaris-cast.patch
Type: text/x-patch
Size: 14305 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130315/0f6a1440/attachment.bin>


More information about the samba-technical mailing list