Using atoizint for staticrank
[idzebra-moved-to-github.git] / index / alvis.c
index 2f91763..cb98050 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: alvis.c,v 1.8 2006-12-13 13:05:45 adam Exp $
+/* $Id: alvis.c,v 1.10 2006-12-22 13:57:03 adam Exp $
    Copyright (C) 1995-2006
    Index Data ApS
 
@@ -434,8 +434,7 @@ 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 = atozint(rank_str);
        ptr = ptr->children;
     }