diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | 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; |