Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengxwen committed Apr 4, 2024
1 parent cb3c8eb commit 4e53255
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: SeqArray
Type: Package
Title: Data Management of Large-Scale Whole-Genome Sequence Variant Calls
Version: 1.43.4
Date: 2024-03-27
Version: 1.43.5
Date: 2024-04-03
Depends: R (>= 3.5.0), gdsfmt (>= 1.31.1)
Imports: methods, parallel, IRanges, GenomicRanges, GenomeInfoDb, Biostrings,
S4Vectors
Expand Down
7 changes: 5 additions & 2 deletions src/ConvVCF2GDS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1085,12 +1085,15 @@ COREARRAY_DLL_EXPORT SEXP SEQ_VCF_NumLines(SEXP File, SEXP SkipHead,
m0 = 0;
Rprintf(".");
if ((++m1) % 50 == 0)
Rprintf(" %lldK [%s]\n", n/1000, datetime_str());
Rprintf(" %ldK [%s]\n", (long int)n/1000, datetime_str());
}
SkipLine();
}
if (verbose)
Rprintf("%s%lld lines [%s]\n", m1>0 ? " " : "", n, datetime_str());
{
Rprintf("%s%ld lines [%s]\n", m1>0 ? " " : "", (long int)n,
datetime_str());
}

Done_VCF_Buffer();
return ScalarReal(n);
Expand Down

0 comments on commit 4e53255

Please sign in to comment.