mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
Silence warnings about "signed vs. unsigned" comparisons.
This commit is contained in:
1 parent
3a713ac022
commit
9341b3aaac
1 file changed
+1
-1
+1
-1
@@ -209,7 +209,7 @@ csrmatrix_write(const struct CSRMatrix *A, const char *fn)
|
||||
fp = fopen(fn, "wt");
|
||||
|
||||
if (fp != NULL) {
|
||||
for (i = j = 0; i < A->m; i++) {
|
||||
for (i = j = 0; (size_t)i < A->m; i++) {
|
||||
for (; j < A->ia[i + 1]; j++) {
|
||||
fprintf(fp, "%lu %lu %26.18e\n",
|
||||
(unsigned long) (i + 1),
|
||||
|
||||
Reference in new issue
Block a user