X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=rset%2Frstemp.c;h=0df8f16fa7ed49714703730e074016ffd906a072;hp=8971b497702bad1cecbd8ba2a8c2a7ac9ba82448;hb=1bb217ab477284fd7fee47f19a6e8a780fa2bb50;hpb=ba1cf01240f69bcffc890b9f85b9a52ac56696f0 diff --git a/rset/rstemp.c b/rset/rstemp.c index 8971b49..0df8f16 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -1,4 +1,4 @@ -/* $Id: rstemp.c,v 1.40 2004-08-06 10:09:28 heikki Exp $ +/* $Id: rstemp.c,v 1.41 2004-08-06 12:28:23 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps @@ -374,6 +374,6 @@ static int r_write (RSFD rfd, const void *buf) 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; }