/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
*/
(db ? db : "unknown"));
if (rec)
{
- if (fwrite (str, 1, len, stdout) != len)
+ if (fwrite (str, 1, len, stdout) != (size_t) len)
printf("write to stdout failed\n");
}
printf ("\n");