summaryrefslogtreecommitdiff
path: root/src/htscache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscache.c')
-rw-r--r--src/htscache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htscache.c b/src/htscache.c
index 4ca81f2..7b527e1 100644
--- a/src/htscache.c
+++ b/src/htscache.c
@@ -618,7 +618,7 @@ static htsblk cache_readex_new(httrackp* opt,cache_back* cache,const char* adr,c
#endif
}
- if (hash_pos_return) {
+ if (hash_pos_return != 0) {
uLong posInZip;
if (hash_pos > 0) {
posInZip = (uLong) hash_pos;
@@ -914,7 +914,7 @@ static htsblk cache_readex_old(httrackp* opt,cache_back* cache,const char* adr,c
// en cas de succès
#if HTS_FAST_CACHE
- if (hash_pos_return) {
+ if (hash_pos_return != 0) {
#else
if (a!=NULL) { // OK existe en cache!
#endif