projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use odr_atoi to decode fake hit count (in term)
[yaz-moved-to-github.git]
/
ztest
/
ztest.c
diff --git
a/ztest/ztest.c
b/ztest/ztest.c
index
3bb4886
..
dc31a33
100644
(file)
--- a/
ztest/ztest.c
+++ b/
ztest/ztest.c
@@
-55,7
+55,7
@@
static Odr_int get_term_hit(Z_RPNStructure *s)
char *endptr;
WRBUF hits_str = wrbuf_alloc();
wrbuf_write(hits_str, (const char *) oct->buf, oct->len);
- h = strtoll(wrbuf_cstr(hits_str), &endptr, 10);
+ h = odr_atoi(wrbuf_cstr(hits_str));
wrbuf_destroy(hits_str);
}
}