-/* $Id: charmap.c,v 1.38 2005-06-15 21:31:45 adam Exp $
+/* $Id: charmap.c,v 1.39 2005-08-22 08:17:01 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
}
if (!len)
{
- if (!root->target || !root->target[0] || strcmp(root->target[0], to))
+ if (!root->target || !root->target[0] ||
+ strcmp((const char *) root->target[0], to))
{
if (from_0 &&
root->target && root->target[0] && root->target[0][0] &&
- strcmp (root->target[0], CHR_UNKNOWN))
+ strcmp((const char *) root->target[0], CHR_UNKNOWN))
{
yaz_log (YLOG_WARN, "duplicate entry for charmap from '%s'",
from_0);
-/* $Id: tstcharmap.c,v 1.2 2005-08-19 09:20:21 adam Exp $
+/* $Id: tstcharmap.c,v 1.3 2005-08-22 08:17:01 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
#include <stdio.h>
#include <assert.h>
#include <charmap.h>
+#include <yaz/log.h>
/* use env srcdir as base directory - or current directory if unset */
const char *get_srcdir()