[PATCHES] Fix compilation on i386

Stefan (metze) Metzmacher metze at samba.org
Wed Jun 17 01:10:39 MDT 2015


Hi Douglas,

> diff --git a/librpc/idl/server_id.idl b/librpc/idl/server_id.idl
> index 554e428..443daef 100644
> --- a/librpc/idl/server_id.idl
> +++ b/librpc/idl/server_id.idl
> @@ -9,10 +9,10 @@ interface server_id
>  	 * Ctdbd sets this, we retrieve our vnn from it.
>  	 */
>  
> -	const int NONCLUSTER_VNN = 0xFFFFFFFF;
> +	const uint NONCLUSTER_VNN = 0xFFFFFFFF;

Can you use uint32...

>  	/** Don't verify this unique id */
> -	const int SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;
> +	const uint64 SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;

... and hyper here?

This way we match what we have in struct server_id.

Otherwise Reviewed-by: me

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150617/61f87778/attachment.pgp>


More information about the samba-technical mailing list