X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzserver.c;h=ceeb56f684d417faad174494389fc89f1b12b774;hb=c33ea56e3771c3b80ba66ef8fda3a09cad171ebb;hp=129fbe25a07cf008f64e26bbf3d09cee5ea28e11;hpb=0af00389d43835ef54928dc22f7d34ae30f3c723;p=idzebra-moved-to-github.git diff --git a/index/zserver.c b/index/zserver.c index 129fbe2..ceeb56f 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,4 +1,4 @@ -/* $Id: zserver.c,v 1.147 2006-06-07 10:14:41 adam Exp $ +/* $Id: zserver.c,v 1.149 2006-08-14 10:40:15 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include @@ -368,7 +368,8 @@ static int bend_scan (void *handle, bend_scan_rr *r) for (i = 0; i < r->num_entries; i++) { r->entries[i].term = entries[i].term; - r->entries[i].occurrences = entries[i].occurrences; + r->entries[i].occurrences = + CAST_ZINT_TO_INT(entries[i].occurrences); } } else