Skip to content

Commit

Permalink
[example] Fix a printf warning by Visual C
Browse files Browse the repository at this point in the history
  • Loading branch information
gruenich committed Feb 18, 2024
1 parent 5440009 commit 4a947f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXAMPLE/dlinsol.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int main(int argc, char *argv[])
dCreate_CompCol_Matrix(&A, m, n, nnz, a, asub, xa, SLU_NC, SLU_D, SLU_GE);
Astore = A.Store;
printf("Dimension %dx%d; # nonzeros %d\n", (int)A.nrow, (int)A.ncol, (int)Astore->nnz);
printf("sizeof(int_t) %lu\n", sizeof(int_t));
printf("sizeof(int_t) %zu\n", sizeof(int_t));

nrhs = 1;
if ( !(rhs = doubleMalloc(m * nrhs)) ) ABORT("Malloc fails for rhs[].");
Expand Down

0 comments on commit 4a947f2

Please sign in to comment.