Skip to content

Commit

Permalink
Merge pull request #5 from simonpenel/fix_bug_getzlibsock
Browse files Browse the repository at this point in the history
Fixing 'getzlibsock.c:145:42: warning: format '%d' expects argument ...
  • Loading branch information
simonpenel authored Dec 5, 2023
2 parents 2410cb5 + ca6205a commit 7e0082b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: seqinr
Title: Biological Sequences Retrieval and Analysis
Version: 4.2-33
Version: 4.2-34
Depends: R (>= 2.10.0)
Imports: ade4,segmented
Authors@R: c(person("Delphine", "Charif", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion src/getzlibsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ SEXP getzlibsock(SEXP sock, SEXP nmax, SEXP debug)
return ans ;
}
if (debugon)
Rprintf("Socket answer is ok %s(%d)\n",res, strlen(res));
Rprintf("Socket answer is ok %s\n",res);
nn = (n < 0) ? 1000 : n; /* initially allocate space for 1000 lines */
nnn = (n < 0) ? INT_MAX : n;
PROTECT(ans = allocVector(STRSXP, nn));
Expand Down

0 comments on commit 7e0082b

Please sign in to comment.