-/* $Id: rstemp.c,v 1.40 2004-08-06 10:09:28 heikki Exp $
+/* $Id: rstemp.c,v 1.42 2004-08-06 12:55:03 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
struct rset_temp_rfd {
struct rset_temp_info *info;
struct rset_temp_rfd *next;
- int *countp;
+ zint *countp;
void *buf;
size_t pos_cur; /* current position in set */
zint cur; /* number of the current hit */
static void r_pos (RSFD rfd, double *current, double *total)
{
struct rset_temp_rfd *mrfd = (struct rset_temp_rfd*) rfd;
- *current=mrfd->cur;
- *total=mrfd->info->hits;
+ *current=(double) mrfd->cur;
+ *total=(double) mrfd->info->hits;
}