projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c20b200
)
Dont case to size_t when it is an int
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 13 Jun 2006 20:04:15 +0000
(20:04 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 13 Jun 2006 20:04:15 +0000
(20:04 +0000)
recctrl/recgrs.c
patch
|
blob
|
history
diff --git
a/recctrl/recgrs.c
b/recctrl/recgrs.c
index
fecf2c5
..
bc77d38
100644
(file)
--- 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
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->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 */
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->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 */
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->odr)))
p->diagnostic = 238;
else
- p->rec_len = (size_t) (-1);
+ p->rec_len = -1;
break;
case VAL_SUTRS:
if (p->encoding)
break;
case VAL_SUTRS:
if (p->encoding)