s4:libnet: rename uint => uint32_t because uint is not portable
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Jul 2009 18:45:53 +0000 (20:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 15 Jul 2009 18:47:00 +0000 (20:47 +0200)
metze

source4/libnet/libnet_group.c
source4/libnet/libnet_group.h
source4/libnet/libnet_user.c
source4/libnet/libnet_user.h

index b0669640f3085f3c9bf92207d50d7406bc119525..9e7abe81b1a7cebde7f21cbc58d0241f477e02bf 100644 (file)
@@ -484,7 +484,7 @@ struct composite_context *libnet_GroupList_send(struct libnet_context *ctx,
        /* store the arguments in the state structure */
        s->ctx          = ctx;
        s->page_size    = io->in.page_size;
-       s->resume_index = (uint32_t)io->in.resume_index;
+       s->resume_index = io->in.resume_index;
        s->domain_name  = talloc_strdup(c, io->in.domain_name);
        s->monitor_fn   = monitor;
 
index b80d3449c8ed9473ae76ef128a9ebf69f50bf9c3..8ac47437fd275d1e2d941b78bd26968fa27ea152 100644 (file)
@@ -58,11 +58,11 @@ struct libnet_GroupList {
        struct {
                const char *domain_name;
                int page_size;
-               uint resume_index;
+               uint32_t resume_index;
        } in;
        struct {
                int count;
-               uint resume_index;
+               uint32_t resume_index;
                
                struct grouplist {
                        const char *sid;
index 8606d0856e20cc73fc29faa7d79078a48db04d88..dd4d501c176f22a71f70276d5cbc2dca71c34dee 100644 (file)
@@ -945,7 +945,7 @@ struct composite_context* libnet_UserList_send(struct libnet_context *ctx,
        /* store the arguments in the state structure */
        s->ctx          = ctx;
        s->page_size    = r->in.page_size;
-       s->resume_index = (uint32_t)r->in.resume_index;
+       s->resume_index = r->in.resume_index;
        s->domain_name  = talloc_strdup(c, r->in.domain_name);
        s->monitor_fn   = monitor;
 
index 4aad654b3bf9b64bd261a23c2028f4b5934220d8..8203d14c337995f87e90aa23f69b6accdb7db117 100644 (file)
@@ -140,11 +140,11 @@ struct libnet_UserList {
        struct {
                const char *domain_name;
                int page_size;
-               uint resume_index;
+               uint32_t resume_index;
        } in;
        struct {
                int count;
-               uint resume_index;
+               uint32_t resume_index;
 
                struct userlist {
                        const char *sid;