# | Line 472 | Line 472 | multi_process(void) | |
---|---|---|
472 | return(0); | |
473 | } | |
474 | i = in_type==DTfloat ? ncomp*(int)sizeof(float) : ncomp+1; | |
475 | < | maplen = dstart + yres*xres*i; |
475 | > | maplen = dstart + (size_t)yres*xres*i; |
476 | imap = mmap(NULL, maplen, PROT_READ, | |
477 | MAP_FILE|MAP_SHARED, fileno(finp), 0); | |
478 | fclose(finp); /* will read from map (randomly) */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |