summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-21 19:54:55 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-21 19:54:55 +0000
commitf0cac9eea623e6f3b3521eeb630867ff2056d3be (patch)
treed982f4ff682dd107b38c46f2644dfc063a0d6e52
parent5691e0e67f7a28e12382ad6f76c3fcf255559543 (diff)
Cosmetic
-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