summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common/error.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-11 21:19:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:39 -0500
commitf3e13632813c543583fe1d04203825743aa99111 (patch)
tree0a58e5663e663a6cdd409872787c9cc4ed591e4d /source4/lib/tdb/common/error.c
parentf1f4f665b01aec093de9e93f399070f44f65a551 (diff)
downloadsamba-f3e13632813c543583fe1d04203825743aa99111.tar.gz
samba-f3e13632813c543583fe1d04203825743aa99111.tar.bz2
samba-f3e13632813c543583fe1d04203825743aa99111.zip
r24336: Use standard data type uint32_t rather than tdb-specific u32.
(This used to be commit f90a698387c53508862eb6359bd4d1fba1d2b4b0)
Diffstat (limited to 'source4/lib/tdb/common/error.c')
-rw-r--r--source4/lib/tdb/common/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/common/error.c b/source4/lib/tdb/common/error.c
index c907602ca7..195ab23815 100644
--- a/source4/lib/tdb/common/error.c
+++ b/source4/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;