Use large enough unsigned values in server_id IDL
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 17 Jun 2015 04:08:18 +0000 (16:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Jun 2015 04:04:10 +0000 (06:04 +0200)
This matches what we have in struct server_id.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/server_id.idl

index 554e428bf2b567146f15f3c299f9b6b5078c172e..8ebffc55a7f3f90a4e271a5e2b5cabb0636dffa6 100644 (file)
@@ -9,10 +9,10 @@ interface server_id
         * Ctdbd sets this, we retrieve our vnn from it.
         */
 
-       const int NONCLUSTER_VNN = 0xFFFFFFFF;
+       const uint32 NONCLUSTER_VNN = 0xFFFFFFFF;
 
        /** Don't verify this unique id */
-       const int SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;
+       const hyper SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;
 
        /* used to look like the following, note that unique_id was not
         * marshalled at all...