svn commit: samba r13001 - in branches/SAMBA_4_0/source/client: .

metze at samba.org metze at samba.org
Wed Jan 18 16:01:14 GMT 2006


Author: metze
Date: 2006-01-18 16:01:13 +0000 (Wed, 18 Jan 2006)
New Revision: 13001

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13001

Log:
fix compiler warnings

metze
Modified:
   branches/SAMBA_4_0/source/client/client.c


Changeset:
Modified: branches/SAMBA_4_0/source/client/client.c
===================================================================
--- branches/SAMBA_4_0/source/client/client.c	2006-01-18 15:51:50 UTC (rev 13000)
+++ branches/SAMBA_4_0/source/client/client.c	2006-01-18 16:01:13 UTC (rev 13001)
@@ -2164,7 +2164,7 @@
 	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 @@
 	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++;
 	}



More information about the samba-cvs mailing list