Skip to content

Commit

Permalink
Update embedded lpSolve
Browse files Browse the repository at this point in the history
To get rid of compilation warning on Windows + R-devel.
  • Loading branch information
gaborcsardi committed Nov 8, 2024
1 parent 552bbb5 commit 066d0da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions src/library/lpSolve/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Package: lpSolve
Version: 5.6.20.9000
Version: 5.6.21.9000
Title: Interface to 'Lp_solve' v. 5.5 to Solve Linear/Integer Programs
Author: Michel Berkelaar and others
Maintainer: Gábor Csárdi <csardi.gabor@gmail.com>
Authors@R: c(
person("Gábor", "Csárdi", , "csardi.gabor@gmail.com", role = "cre"),
person("Michel", "Berkelaar", role = "aut")
)
Description: Lp_solve is freely available (under LGPL 2) software for
solving linear, integer and mixed integer programs. In this
implementation we supply a "wrapper" function in C and some R
Expand All @@ -14,4 +16,7 @@ URL: https://github.com/gaborcsardi/lpSolve
BugReports: https://github.com/gaborcsardi/lpSolve/issues
Encoding: UTF-8
NeedsCompilation: yes
Packaged: 2024-09-05 07:46:18 UTC; gaborcsardi
Packaged: 2024-11-08 09:40:13 UTC; gaborcsardi
Author: Gábor Csárdi [cre],
Michel Berkelaar [aut]
Maintainer: Gábor Csárdi <csardi.gabor@gmail.com>
2 changes: 1 addition & 1 deletion src/library/lpSolve/src/lusol.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

/* LUSOL Object creation and destruction */

void *clean_realloc(void *oldptr, int width, int newsize, int oldsize)
void *clean_realloc(void *oldptr, int width, size_t newsize, int oldsize)
{
newsize *= width;
oldsize *= width;
Expand Down

0 comments on commit 066d0da

Please # to comment.