projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Towards 2.1.40.
[yaz-moved-to-github.git]
/
src
/
nfaxml.c
diff --git
a/src/nfaxml.c
b/src/nfaxml.c
index
8a49693
..
2771f56
100644
(file)
--- a/
src/nfaxml.c
+++ b/
src/nfaxml.c
@@
-1,7
+1,7
@@
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
*
/* 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 "
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;
}
xmlFree(content);
return -1;
}