1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r8714: Oops - get it right this time!

(This used to be commit 1d2b708da657a3f3c81bb60600f66bc359c2eab7)
This commit is contained in:
Tim Potter 2005-07-22 11:19:55 +00:00 committed by Gerald (Jerry) Carter
parent a33c02612a
commit ab4f3a663b

View File

@ -852,7 +852,7 @@ int samdb_msg_add_uint(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct
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_int64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct
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);
}