diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-15 20:45:53 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-15 20:47:00 +0200 |
commit | 722765213bcda1de93d2fe7d64b89c8b7a37f29e (patch) | |
tree | d3d9c162a070db37ee1596427cd2fa68481bd138 | |
parent | dea2e4690a188a5ff06c9df354befe65cbcb320c (diff) | |
download | samba-722765213bcda1de93d2fe7d64b89c8b7a37f29e.tar.gz samba-722765213bcda1de93d2fe7d64b89c8b7a37f29e.tar.bz2 samba-722765213bcda1de93d2fe7d64b89c8b7a37f29e.zip |
s4:libnet: rename uint => uint32_t because uint is not portable
metze
-rw-r--r-- | source4/libnet/libnet_group.c | 2 | ||||
-rw-r--r-- | source4/libnet/libnet_group.h | 4 | ||||
-rw-r--r-- | source4/libnet/libnet_user.c | 2 | ||||
-rw-r--r-- | source4/libnet/libnet_user.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c index b0669640f3..9e7abe81b1 100644 --- a/source4/libnet/libnet_group.c +++ b/source4/libnet/libnet_group.c @@ -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; diff --git a/source4/libnet/libnet_group.h b/source4/libnet/libnet_group.h index b80d3449c8..8ac47437fd 100644 --- a/source4/libnet/libnet_group.h +++ b/source4/libnet/libnet_group.h @@ -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; diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c index 8606d0856e..dd4d501c17 100644 --- a/source4/libnet/libnet_user.c +++ b/source4/libnet/libnet_user.c @@ -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; diff --git a/source4/libnet/libnet_user.h b/source4/libnet/libnet_user.h index 4aad654b3b..8203d14c33 100644 --- a/source4/libnet/libnet_user.h +++ b/source4/libnet/libnet_user.h @@ -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; |