svn commit: samba r4118 - in branches/SAMBA_4_0/source/rpc_server/winreg: .

tridge at samba.org tridge at samba.org
Thu Dec 9 12:54:01 GMT 2004


Author: tridge
Date: 2004-12-09 12:54:01 +0000 (Thu, 09 Dec 2004)
New Revision: 4118

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

Log:
don't assume that "unsigned int" is the same type as uint32_t


Modified:
   branches/SAMBA_4_0/source/rpc_server/winreg/rpc_winreg.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/winreg/rpc_winreg.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/winreg/rpc_winreg.c	2004-12-09 12:50:50 UTC (rev 4117)
+++ branches/SAMBA_4_0/source/rpc_server/winreg/rpc_winreg.c	2004-12-09 12:54:01 UTC (rev 4118)
@@ -215,7 +215,8 @@
 		return result;
 	}
 	
-	r->out.type = &value->data_type;
+	r->out.type = talloc_p(mem_ctx, uint32_t);
+	*r->out.type = value->data_type;
 	r->out.name_out.name = value->name;
 	r->out.value = value->data_blk;
 	r->out.size = talloc_p(mem_ctx, uint32_t);



More information about the samba-cvs mailing list