Skip to content

Commit

Permalink
Fixing 'getzlibsock.c:145:42: warning: format '%d' expects argument o…
Browse files Browse the repository at this point in the history
…f type 'int'
  • Loading branch information
simonpenel committed Dec 5, 2023
1 parent 2410cb5 commit ca6205a
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 ca6205a

Please sign in to comment.