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
Added a few type casts to avoid warnings.
[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
..
37831f9
100644
(file)
--- a/
src/iconv_decode_danmarc.c
+++ b/
src/iconv_decode_danmarc.c
@@
-77,7
+77,7
@@
static unsigned long read_danmarc(yaz_iconv_t cd,
else
{
unsigned long v;
- sscanf(inp+1, "%4lx", &v);
+ sscanf((const char *) inp+1, "%4lx", &v);
*no_read = 5;
x = v;
}