/* 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.
*/
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;