X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst5.c;h=24bcac7adc545eefa6a2399382e6d97d0c93ed9d;hb=cee361c60ab22518b0864d46d2c7b2b472ad797d;hp=14ee88b89e5412a8e97249a55bd33e9e3de7ef62;hpb=7ef1b50f481cda83d012cc3d69d83f9313836f1f;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst5.c b/zoom/zoomtst5.c index 14ee88b..24bcac7 100644 --- a/zoom/zoomtst5.c +++ b/zoom/zoomtst5.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ @@ -105,7 +105,7 @@ int main(int argc, char **argv) (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"); @@ -127,6 +127,7 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab