summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 16:50:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:16 -0500
commitf2ad98a165cdec6d344a96aeb21a38518a10720a (patch)
tree1a41047f1a5563cca0394051de02b36d456a3539 /source4/lib/tdb/common
parentf9d8f8843dc0ab8c9d59abde7222e0f118b86b5d (diff)
downloadsamba-f2ad98a165cdec6d344a96aeb21a38518a10720a.tar.gz
samba-f2ad98a165cdec6d344a96aeb21a38518a10720a.tar.bz2
samba-f2ad98a165cdec6d344a96aeb21a38518a10720a.zip
r888: more ..int32 -> ..int32_t stuff
metze (This used to be commit f3b1d3bdc74f08ee2a1d22102d57bff94f71f5a5)
Diffstat (limited to 'source4/lib/tdb/common')
-rw-r--r--source4/lib/tdb/common/tdbutil.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/tdb/common/tdbutil.c b/source4/lib/tdb/common/tdbutil.c
index b8babf48aa..bdb8621d16 100644
--- a/source4/lib/tdb/common/tdbutil.c
+++ b/source4/lib/tdb/common/tdbutil.c
@@ -191,7 +191,7 @@ int32_t tdb_fetch_int32_byblob(TDB_CONTEXT *tdb, const char *keyval, size_t len)
int32_t ret;
data = tdb_fetch(tdb, key);
- if (!data.dptr || data.dsize != sizeof(int32)) {
+ if (!data.dptr || data.dsize != sizeof(int32_t)) {
SAFE_FREE(data.dptr);
return -1;
}
@@ -224,7 +224,7 @@ int tdb_store_int32_byblob(TDB_CONTEXT *tdb, const char *keystr, size_t len, int
SIVAL(&v_store,0,v);
data.dptr = (void *)&v_store;
- data.dsize = sizeof(int32);
+ data.dsize = sizeof(int32_t);
return tdb_store(tdb, key, data, TDB_REPLACE);
}
@@ -250,7 +250,7 @@ BOOL tdb_fetch_uint32_byblob(TDB_CONTEXT *tdb, const char *keyval, size_t len, u
TDB_DATA data;
data = tdb_fetch(tdb, key);
- if (!data.dptr || data.dsize != sizeof(uint32)) {
+ if (!data.dptr || data.dsize != sizeof(uint32_t)) {
SAFE_FREE(data.dptr);
return False;
}
@@ -284,7 +284,7 @@ BOOL tdb_store_uint32_byblob(TDB_CONTEXT *tdb, const char *keystr, size_t len, u
SIVAL(&v_store, 0, value);
data.dptr = (void *)&v_store;
- data.dsize = sizeof(uint32);
+ data.dsize = sizeof(uint32_t);
if (tdb_store(tdb, key, data, TDB_REPLACE) == -1)
ret = False;
@@ -457,7 +457,7 @@ size_t tdb_pack(TDB_CONTEXT *tdb, char *buf, int bufsize, const char *fmt, ...)
break;
case 'd': /* signed 32-bit integer (standard int in most systems) */
len = 4;
- d = va_arg(ap, uint32);
+ d = va_arg(ap, uint32_t);
if (bufsize && bufsize >= len)
SIVAL(buf, 0, d);
break;