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:
6006e6a
)
MARC table: offset type size_t
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Jan 2010 09:58:13 +0000
(10:58 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Jan 2010 11:25:10 +0000
(12:25 +0100)
src/charconv.tcl
patch
|
blob
|
history
diff --git
a/src/charconv.tcl
b/src/charconv.tcl
index
cc81139
..
5500f59
100644
(file)
--- a/
src/charconv.tcl
+++ b/
src/charconv.tcl
@@
-35,7
+35,7
@@
proc preamble_trie {ofilehandle ifiles ofile} {
"
puts $f {
static unsigned long lookup(struct yaz_iconv_trie **ptrs, int ptr, unsigned char *inp,
"
puts $f {
static unsigned long lookup(struct yaz_iconv_trie **ptrs, int ptr, unsigned char *inp,
- size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, int boffset)
+ size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, unsigned int boffset)
{
struct yaz_iconv_trie *t = ptrs[ptr-1];
if (inbytesleft < 1)
{
struct yaz_iconv_trie *t = ptrs[ptr-1];
if (inbytesleft < 1)
@@
-264,7
+264,7
@@
proc dump_trie {ofilehandle} {
puts $f ""
puts $f "unsigned long yaz_$trie(prefix)_conv
puts $f ""
puts $f "unsigned long yaz_$trie(prefix)_conv
- (unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, int boffset)
+ (unsigned char *inp, size_t inbytesleft, size_t *no_read, int *combining, unsigned mask, unsigned int boffset)
{
unsigned long code;
{
unsigned long code;