int32_t v)
{
struct db_record *rec;
- int32 v_store;
+ int32_t v_store;
NTSTATUS status;
rec = dbwrap_fetch_locked(db, NULL, string_term_tdb_data(keystr));
SIVAL(&v_store, 0, v);
status = dbwrap_record_store(rec,
- make_tdb_data((const uint8 *)&v_store,
+ make_tdb_data((const uint8_t *)&v_store,
sizeof(v_store)),
TDB_REPLACE);
TALLOC_FREE(rec);
uint32_t v)
{
struct db_record *rec;
- uint32 v_store;
+ uint32_t v_store;
NTSTATUS status;
rec = dbwrap_fetch_locked(db, NULL, string_term_tdb_data(keystr));
SIVAL(&v_store, 0, v);
status = dbwrap_record_store(rec,
- make_tdb_data((const uint8 *)&v_store,
+ make_tdb_data((const uint8_t *)&v_store,
sizeof(v_store)),
TDB_REPLACE);
TALLOC_FREE(rec);
SIVAL(&v_store, 0, val);
ret = dbwrap_record_store(rec,
- make_tdb_data((const uint8 *)&v_store,
+ make_tdb_data((const uint8_t *)&v_store,
sizeof(v_store)),
TDB_REPLACE);
NTSTATUS dbwrap_trans_store_int32(struct db_context *db, const char *keystr,
int32_t v)
{
- int32 v_store;
+ int32_t v_store;
SIVAL(&v_store, 0, v);
return dbwrap_trans_store(db, string_term_tdb_data(keystr),
- make_tdb_data((const uint8 *)&v_store,
+ make_tdb_data((const uint8_t *)&v_store,
sizeof(v_store)),
TDB_REPLACE);
}
NTSTATUS dbwrap_trans_store_uint32(struct db_context *db, const char *keystr,
uint32_t v)
{
- uint32 v_store;
+ uint32_t v_store;
SIVAL(&v_store, 0, v);
return dbwrap_trans_store(db, string_term_tdb_data(keystr),
- make_tdb_data((const uint8 *)&v_store,
+ make_tdb_data((const uint8_t *)&v_store,
sizeof(v_store)),
TDB_REPLACE);
}