X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=40aa1cc7cfcd33aa190c7df606232be97af042e5;hb=be0203ee07adfeda7821a2c44ba6dd31a532b792;hp=ce5615425ae517a07be32c736df65b4d862ef0aa;hpb=342c28e71fe5122d17d760a930107cab0266e9c6;p=idzebra-moved-to-github.git diff --git a/index/zebraapi.c b/index/zebraapi.c index ce56154..40aa1cc 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.183 2005-08-19 09:21:34 adam Exp $ +/* $Id: zebraapi.c,v 1.184 2005-08-22 09:04:18 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -1239,13 +1239,13 @@ ZEBRA_RES zebra_admin_import_segment (ZebraHandle zh, Z_Segment *segment) Odr_oct *oct = fragment->u.notExternallyTagged; sysno = 0; - if ( zebra_update_record(zh, - 0, /* record Type */ - &sysno, - 0, /* match */ - 0, /* fname */ - oct->buf, oct->len, - 0) == ZEBRA_FAIL) + if (zebra_update_record(zh, + 0, /* record Type */ + &sysno, + 0, /* match */ + 0, /* fname */ + (const char *) oct->buf, oct->len, + 0) == ZEBRA_FAIL) res = ZEBRA_FAIL; } }