| # | Line 271 | Line 271 | int main (int argc, char* argv []) | |
|---|---|---|
| 271 | pmapROI = realloc(pmapROI, | |
| 272 | ++pmapNumROI * sizeof(PhotonMapROI)); | |
| 273 | if (!pmapROI) | |
| 274 | < | 1 error(SYSTEM, "failed to allocate ROI"); |
| 274 | > | error(SYSTEM, "failed to allocate ROI"); |
| 275 | ||
| 276 | pmapROI [n].min [0] = atof(argv [++i]); | |
| 277 | pmapROI [n].min [1] = atof(argv [++i]); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |