projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
002e8d5
)
Add safe cast
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Jan 2010 13:37:47 +0000
(14:37 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Jan 2010 13:37:47 +0000
(14:37 +0100)
src/advancegreek.c
patch
|
blob
|
history
diff --git
a/src/advancegreek.c
b/src/advancegreek.c
index
e0b6679
..
a207ca4
100644
(file)
--- a/
src/advancegreek.c
+++ b/
src/advancegreek.c
@@
-366,7
+366,7
@@
static size_t write_advancegreek(yaz_iconv_t cd, yaz_iconv_encoder_t w,
yaz_iconv_set_errno(cd, YAZ_ICONV_EILSEQ);
return (size_t) -1;
}
- out[k++] = x;
+ out[k++] = (unsigned char ) x;
break;
}
*outbytesleft -= k;