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
Update NEWS
[yaz-moved-to-github.git]
/
src
/
iconv_decode_danmarc.c
diff --git
a/src/iconv_decode_danmarc.c
b/src/iconv_decode_danmarc.c
index
3dc0f6e
..
7196704
100644
(file)
--- a/
src/iconv_decode_danmarc.c
+++ b/
src/iconv_decode_danmarc.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2010 Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-77,7
+77,7
@@
static unsigned long read_danmarc(yaz_iconv_t cd,
else
{
unsigned long v;
else
{
unsigned long v;
- sscanf(inp+1, "%4lx", &v);
+ sscanf((const char *) inp+1, "%4lx", &v);
*no_read = 5;
x = v;
}
*no_read = 5;
x = v;
}
@@
-126,7
+126,9
@@
yaz_iconv_decoder_t yaz_danmarc_decoder(const char *fromcode,
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
+