aboutsummaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db.c b/src/db.c
index d8efaa6f..4ab865da 100644
--- a/src/db.c
+++ b/src/db.c
@@ -1,5 +1,5 @@
-/* This file is part of mailfromd.
- Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
+/* This file is part of Mailfromd.
+ Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -128,7 +128,7 @@ db_enumerate(DBM_FILE *db, db_enum_func fun, void *data)
} else {
mu_error(_("Cannot fetch data `%*.*s' from `%s': %s"),
MU_DATUM_SIZE(key), MU_DATUM_SIZE(key),
- MU_DATUM_PTR(key),
+ (char*) MU_DATUM_PTR(key),
db->name,
mu_dbm_strerror());
rc = 1;
@@ -327,7 +327,7 @@ db_compact_func(DBM_DATUM key, DBM_DATUM contents, void *data)
} else if (mu_dbm_insert(&dp->ndb, key, contents, 1)) {
mu_error(_("Cannot insert datum `%*.*s' into `%s': %s"),
MU_DATUM_SIZE(key), MU_DATUM_SIZE(key),
- MU_DATUM_PTR(key),
+ (char*) MU_DATUM_PTR(key),
dp->ndb.name,
mu_dbm_strerror());
dp->rc = 1;

Return to:

Send suggestions and report system problems to the System administrator.