-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
- *
- * $Id: fhistory.c,v 1.3 2007-03-19 22:17:41 adam Exp $
*/
/** \file fhistory.c
* \brief file history implementation
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;
}