diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-05 18:50:18 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-05 18:50:18 +0000 |
commit | bbd7f7bf0fd4f6cda41989c3371d7bf18f49a592 (patch) | |
tree | 63e4f012a5cab611ca74f0ec2b4b8b97d6a1b7be /source3/tdb | |
parent | fde7328900a6bef12aa93d11f5dc3e0838f2f7fc (diff) | |
download | samba-bbd7f7bf0fd4f6cda41989c3371d7bf18f49a592.tar.gz samba-bbd7f7bf0fd4f6cda41989c3371d7bf18f49a592.tar.bz2 samba-bbd7f7bf0fd4f6cda41989c3371d7bf18f49a592.zip |
Herb's fixes for profiling & compiler warnings.
Jeremy.
(This used to be commit 7914e9351abb5271ebb4990c3b1fe495d15a4eda)
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index d9401d95d4..9c5e99e06b 100644 --- a/source3/tdb/tdb.c +++ b/source3/tdb/tdb.c @@ -610,7 +610,7 @@ char *tdb_error(TDB_CONTEXT *tdb) {TDB_ERR_OOM, "Out of memory"}, {TDB_ERR_EXISTS, "Record exists"}, {TDB_ERR_NOEXIST, "Record does not exist"}, - {-1, NULL}}; + {(enum TDB_ERROR)-1, NULL}}; if (tdb != NULL) { for (i=0;emap[i].estring;i++) { if (tdb->ecode == emap[i].ecode) return emap[i].estring; |