svn commit: samba r8714 - in branches/SAMBA_4_0/source/dsdb/samdb: .

tpot at samba.org tpot at samba.org
Fri Jul 22 11:19:55 GMT 2005


Author: tpot
Date: 2005-07-22 11:19:55 +0000 (Fri, 22 Jul 2005)
New Revision: 8714

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

Log:
Oops - get it right this time!

Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/samdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/samdb.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/samdb.c	2005-07-22 11:16:32 UTC (rev 8713)
+++ branches/SAMBA_4_0/source/dsdb/samdb/samdb.c	2005-07-22 11:19:55 UTC (rev 8714)
@@ -852,7 +852,7 @@
 int samdb_msg_add_int64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg,
 			const char *attr_name, int64_t v)
 {
-	const char *s = talloc_asprintf(mem_ctx, "%PRIi64", v);
+	const char *s = talloc_asprintf(mem_ctx, "%"PRIi64, v);
 	return samdb_msg_add_string(sam_ldb, mem_ctx, msg, attr_name, s);
 }
 
@@ -862,7 +862,7 @@
 int samdb_msg_add_uint64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg,
 			const char *attr_name, uint64_t v)
 {
-	const char *s = talloc_asprintf(mem_ctx, "%PRIu64", v);
+	const char *s = talloc_asprintf(mem_ctx, "%"PRIu64, v);
 	return samdb_msg_add_string(sam_ldb, mem_ctx, msg, attr_name, s);
 }
 



More information about the samba-cvs mailing list