X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=index%2Falvis.c;h=851064fdbb723b26569ffbf629862397afd6946f;hb=fd10c2116175815cf6c2da430a439c27991e1918;hp=2f917634ef11145d629161311353d5d3211b0667;hpb=ec1a1d838f713f8a12616e567de3bcff8daf0e60;p=idzebra-moved-to-github.git diff --git a/index/alvis.c b/index/alvis.c index 2f91763..851064f 100644 --- a/index/alvis.c +++ b/index/alvis.c @@ -1,4 +1,4 @@ -/* $Id: alvis.c,v 1.8 2006-12-13 13:05:45 adam Exp $ +/* $Id: alvis.c,v 1.9 2006-12-22 12:13:40 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -434,7 +434,12 @@ static void index_record(struct filter_info *tinfo,struct recExtractCtrl *ctrl, sscanf(id_str, "%255s", ctrl->match_criteria); if (rank_str) - ctrl->staticrank = atoi(rank_str); + ctrl->staticrank = +#if HAVE_ATOLL + atoll(rank_str); +#else + atoi(rank_str); +#endif ptr = ptr->children; }