From 59638a3f3df5f99b95d620d87310c04dd78f7633 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 13 Jun 2006 20:04:15 +0000 Subject: [PATCH] Dont case to size_t when it is an int --- recctrl/recgrs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recctrl/recgrs.c b/recctrl/recgrs.c index fecf2c5..bc77d38 100644 --- a/recctrl/recgrs.c +++ b/recctrl/recgrs.c @@ -1,4 +1,4 @@ -/* $Id: recgrs.c,v 1.111 2006-06-13 12:02:15 adam Exp $ +/* $Id: recgrs.c,v 1.112 2006-06-13 20:04:15 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -1355,7 +1355,7 @@ int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p, p->odr, &dummy))) p->diagnostic = 238; /* not available in requested syntax */ else - p->rec_len = (size_t) (-1); + p->rec_len = -1; break; case VAL_EXPLAIN: /* ensure our data1 tree is UTF-8 */ @@ -1365,7 +1365,7 @@ int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p, p->odr))) p->diagnostic = 238; else - p->rec_len = (size_t) (-1); + p->rec_len = -1; break; case VAL_SUMMARY: /* ensure our data1 tree is UTF-8 */ @@ -1374,7 +1374,7 @@ int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p, p->odr))) p->diagnostic = 238; else - p->rec_len = (size_t) (-1); + p->rec_len = -1; break; case VAL_SUTRS: if (p->encoding) -- 1.7.10.4