r13001: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jan 2006 16:01:13 +0000 (16:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:16 +0000 (13:51 -0500)
metze
(This used to be commit 32cfd7c8df0fb0fe1da8a4d3acabbaa111326352)

source4/client/client.c

index afaa3139281c5209dcec2c7b10046e198e9d44c4..e14993362622696568e33acc5a95bb893924df5c 100644 (file)
@@ -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++;
        }