Skip to content

Commit eeaadb0

Browse files
cswaresvigerske
authored andcommitted
Fix warning C4244 '=': conversion from '__int64' to 'int, possible loss of data in MSVC
Signed-off-by: Sven Strickroth <[email protected]>
1 parent 7f2399c commit eeaadb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CoinOslFactorization2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,8 @@ static int c_ekkbtj4p_dense(const int nrow, const double *COIN_RESTRICT dluval,
503503
dv2 = densew[0];
504504
for (k = 0; k < nincol; k++) {
505505
#ifdef DEBUG
506-
int kk = dlu1 - dluval;
507-
int jj = (densew + (nincol - k + 1)) - dwork1;
506+
intptr_t kk = dlu1 - dluval;
507+
intptr_t jj = (densew + (nincol - k + 1)) - dwork1;
508508
int ll = hrowi[k + kk];
509509
if (ll != jj)
510510
abort();

0 commit comments

Comments
 (0)