X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=client%2Ffhistory.c;h=0094fd09c126b3c9a54e7bd1642d53248852d90e;hp=7fb5f3f31bc16fe9d84320c97d0953f0893a965e;hb=fe507b6b15788a3a8e58063d9dae52532a5229a5;hpb=b8ab484f71da48a13342fff3ebd60efd23504681 diff --git a/client/fhistory.c b/client/fhistory.c index 7fb5f3f..0094fd0 100644 --- a/client/fhistory.c +++ b/client/fhistory.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: fhistory.c,v 1.3 2007-03-19 22:17:41 adam Exp $ + * $Id: fhistory.c,v 1.4 2007-05-06 20:12:19 adam Exp $ */ /** \file fhistory.c * \brief file history implementation @@ -26,7 +26,7 @@ struct file_history { file_history_t file_history_new() { - file_history_t fh = xmalloc(sizeof(*fh)); + file_history_t fh = (file_history_t) xmalloc(sizeof(*fh)); fh->wr = wrbuf_alloc(); return fh; }