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
No fixed size buffers for ZOOM shell - bug #3257
[yaz-moved-to-github.git]
/
test
/
tsticonv.c
diff --git
a/test/tsticonv.c
b/test/tsticonv.c
index
721b3c7
..
352033a
100644
(file)
--- a/
test/tsticonv.c
+++ b/
test/tsticonv.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2010 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-96,7
+96,7
@@
static int tst_convert_x(yaz_iconv_t cd, const char *buf, const char *cmpbuf,
size_t inbytesleft = strlen(buf);
const char *inp = buf;
int rounds = 0;
size_t inbytesleft = strlen(buf);
const char *inp = buf;
int rounds = 0;
- for (rounds = 0; inbytesleft && rounds < sizeof(outbuf); rounds++)
+ for (rounds = 0; inbytesleft && rounds < (int) sizeof(outbuf); rounds++)
{
size_t outbytesleft = sizeof(outbuf);
char *outp = outbuf;
{
size_t outbytesleft = sizeof(outbuf);
char *outp = outbuf;