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:
4223ca4
)
Added another safe cast to prevent warning
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 Apr 2006 23:48:06 +0000
(23:48 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 19 Apr 2006 23:48:06 +0000
(23:48 +0000)
src/siconv.c
patch
|
blob
|
history
diff --git
a/src/siconv.c
b/src/siconv.c
index
d749383
..
d3e078f
100644
(file)
--- a/
src/siconv.c
+++ b/
src/siconv.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: siconv.c,v 1.20 2006-04-19 23:46:15 adam Exp $
+ * $Id: siconv.c,v 1.21 2006-04-19 23:48:06 adam Exp $
*/
/**
* \file siconv.c
*/
/**
* \file siconv.c
@@
-740,7
+740,8
@@
static size_t flush_combos(yaz_iconv_t cd,
for (i = 0; i < cd->write_marc8_comb_no; i++)
{
for (i = 0; i < cd->write_marc8_comb_no; i++)
{
- byte = cd->write_marc8_comb_ch[i];
+ /* all MARC-8 combined characters are simple bytes */
+ byte = (unsigned char )(cd->write_marc8_comb_ch[i]);
if (byte == 0xEB)
second_half = 0xEC;
else if (byte == 0xFA)
if (byte == 0xEB)
second_half = 0xEC;
else if (byte == 0xFA)