Mercurial > hg > wm
comparison Meerwald/cmp_ppm.c @ 20:bd669312f068
suppress warnings, fix link errors
| author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
|---|---|
| date | Sat, 28 Jan 2023 23:54:58 +0100 |
| parents | a5249f7d45f7 |
| children |
comparison
equal
deleted
inserted
replaced
| 19:0fffb6f03ebf | 20:bd669312f068 |
|---|---|
| 37 | 37 |
| 38 int in_cols, in_rows, in_format; | 38 int in_cols, in_rows, in_format; |
| 39 pixval in_maxval; | 39 pixval in_maxval; |
| 40 int orig_cols, orig_rows, orig_format; | 40 int orig_cols, orig_rows, orig_format; |
| 41 pixval orig_maxval; | 41 pixval orig_maxval; |
| 42 int cols, rows, format; | 42 int cols, rows; |
| 43 pixval maxval; | 43 pixval maxval; |
| 44 int col, row; | 44 int col, row; |
| 45 | 45 |
| 46 int c; | 46 int c; |
| 47 | 47 |
| 161 exit(1); | 161 exit(1); |
| 162 } | 162 } |
| 163 | 163 |
| 164 cols = in_cols; | 164 cols = in_cols; |
| 165 rows = in_rows; | 165 rows = in_rows; |
| 166 format = in_format; | |
| 167 maxval = in_maxval; | 166 maxval = in_maxval; |
| 168 | 167 |
| 169 input_image = ppm_allocarray(cols, rows); | 168 input_image = ppm_allocarray(cols, rows); |
| 170 | 169 |
| 171 for (row = 0; row < rows; row++) | 170 for (row = 0; row < rows; row++) |
