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
Bundle sha1 rather than use libgcrypt/nettle
[yaz-moved-to-github.git]
/
src
/
iconv_encode_marc8.c
diff --git
a/src/iconv_encode_marc8.c
b/src/iconv_encode_marc8.c
index
8561672
..
aed43c2
100644
(file)
--- a/
src/iconv_encode_marc8.c
+++ b/
src/iconv_encode_marc8.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-322,7
+322,7
@@
static size_t yaz_write_marc8_2(yaz_iconv_t cd, struct encoder_data *w,
yaz_iconv_set_errno(cd, YAZ_ICONV_E2BIG);
return (size_t) (-1);
}
yaz_iconv_set_errno(cd, YAZ_ICONV_E2BIG);
return (size_t) (-1);
}
- *(*outbuf)++ = y;
+ *(*outbuf)++ = (char) y;
(*outbytesleft)--;
}
else
(*outbytesleft)--;
}
else