summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-18 16:01:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:16 -0500
commit34a815422e409f439c002af5273d7482975b65e3 (patch)
treee8f1d5eb922c3faa47c4aa552c57f9208d4278e7
parentb5c818a583417d52f551637809f2b8352e4ebe3b (diff)
downloadsamba-34a815422e409f439c002af5273d7482975b65e3.tar.gz
samba-34a815422e409f439c002af5273d7482975b65e3.tar.bz2
samba-34a815422e409f439c002af5273d7482975b65e3.zip
r13001: fix compiler warnings
metze (This used to be commit 32cfd7c8df0fb0fe1da8a4d3acabbaa111326352)
-rw-r--r--source4/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index afaa313928..e149933626 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2164,7 +2164,7 @@ static int cmd_addprivileges(const char **cmd_ptr)
ZERO_STRUCT(rights);
while (next_token(cmd_ptr,buf,NULL,sizeof(buf))) {
rights.names = talloc_realloc(mem_ctx, rights.names,
- struct lsa_String, rights.count+1);
+ struct lsa_StringLarge, rights.count+1);
rights.names[rights.count].string = talloc_strdup(mem_ctx, buf);
rights.count++;
}
@@ -2214,7 +2214,7 @@ static int cmd_delprivileges(const char **cmd_ptr)
ZERO_STRUCT(rights);
while (next_token(cmd_ptr,buf,NULL,sizeof(buf))) {
rights.names = talloc_realloc(mem_ctx, rights.names,
- struct lsa_String, rights.count+1);
+ struct lsa_StringLarge, rights.count+1);
rights.names[rights.count].string = talloc_strdup(mem_ctx, buf);
rights.count++;
}