summaryrefslogtreecommitdiff
path: root/source3/lib/tdb/common/error.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-12 00:55:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:30 -0500
commit594bbfcdeedc306ce4634dd827df342e86ed8390 (patch)
tree212d5765b8d897f65ecb99f417159a43d379c2c5 /source3/lib/tdb/common/error.c
parent921fbb25eb4a6097a1e960abadc4dc4b11d32cf6 (diff)
downloadsamba-594bbfcdeedc306ce4634dd827df342e86ed8390.tar.gz
samba-594bbfcdeedc306ce4634dd827df342e86ed8390.tar.bz2
samba-594bbfcdeedc306ce4634dd827df342e86ed8390.zip
r24340: Use standard data type uint32_t rather than tdb-specific u32.
(This used to be commit 26d1430283bd4ae8b8a84f3253e33417d509c1a4)
Diffstat (limited to 'source3/lib/tdb/common/error.c')
-rw-r--r--source3/lib/tdb/common/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tdb/common/error.c b/source3/lib/tdb/common/error.c
index c907602ca7..195ab23815 100644
--- a/source3/lib/tdb/common/error.c
+++ b/source3/lib/tdb/common/error.c
@@ -48,7 +48,7 @@ static struct tdb_errname {
/* Error string for the last tdb error */
const char *tdb_errorstr(struct tdb_context *tdb)
{
- u32 i;
+ uint32_t i;
for (i = 0; i < sizeof(emap) / sizeof(struct tdb_errname); i++)
if (tdb->ecode == emap[i].ecode)
return emap[i].estring;