X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fnfaxml.c;h=2771f56ac7ec2b823a1c68f1d48c7194550ead19;hp=8a49693a0b7376492ba9ae3d6cb05374cf5e7879;hb=e4368af2ede9079d33e7a8fd280d29b2bde1d1ad;hpb=e87336d1ad9587d0a7fdc805e2b53c77d435d67c diff --git a/src/nfaxml.c b/src/nfaxml.c index 8a49693..2771f56 100644 --- a/src/nfaxml.c +++ b/src/nfaxml.c @@ -1,7 +1,7 @@ /* Copyright (C) 2006, Index Data ApS * See the file LICENSE for details. * - * $Id: nfaxml.c,v 1.10 2006-08-04 14:35:40 adam Exp $ + * $Id: nfaxml.c,v 1.11 2006-10-09 14:22:43 heikki Exp $ */ /** @@ -45,8 +45,8 @@ static int utf16_content(xmlNodePtr node, yaz_nfa_char *buf, int maxlen, if (res == 0) { /* should be caught earlier */ yaz_log(YLOG_FATAL,"Illegal utf-8 sequence " - "%d bytes into '%s' in %s, rule %d ", - cp-content, content, filename, rulenumber); + "%ld bytes into '%s' in %s, rule %d ", + (long)(cp-content), content, filename, rulenumber); xmlFree(content); return -1; }