From a86e163c1be3485698a238508101c205a47bc937 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 29 Jul 2009 15:08:06 +0200 Subject: s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32 Michael --- source3/include/proto.h | 2 +- source3/lib/dbwrap_util.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index 78e2b25dcb..b7a16567fe 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -447,7 +447,7 @@ NTSTATUS dbwrap_trans_change_uint32_atomic(struct db_context *db, uint32_t *oldval, uint32_t change_val); NTSTATUS dbwrap_change_int32_atomic(struct db_context *db, const char *keystr, - int32 *oldval, int32 change_val); + int32_t *oldval, int32_t change_val); NTSTATUS dbwrap_trans_store(struct db_context *db, TDB_DATA key, TDB_DATA dbuf, int flag); NTSTATUS dbwrap_trans_delete(struct db_context *db, TDB_DATA key); diff --git a/source3/lib/dbwrap_util.c b/source3/lib/dbwrap_util.c index 72442690e3..ace480eaa4 100644 --- a/source3/lib/dbwrap_util.c +++ b/source3/lib/dbwrap_util.c @@ -191,10 +191,10 @@ NTSTATUS dbwrap_trans_change_uint32_atomic(struct db_context *db, * store *oldval + change_val to db. */ NTSTATUS dbwrap_change_int32_atomic(struct db_context *db, const char *keystr, - int32 *oldval, int32 change_val) + int32_t *oldval, int32_t change_val) { struct db_record *rec; - int32 val = -1; + int32_t val = -1; TDB_DATA data; NTSTATUS ret; -- cgit