oooooverflooooow spooootted !
This commit is contained in:
parent
8b185f02e2
commit
9b18958ee8
@ -165,7 +165,7 @@ fprintf(fp, "%s\n%d %d\n", code, head->width, head->height);
|
||||
|
||||
maximum = fimg_get_maxvalue(head);
|
||||
fprintf(fp, "# maxval %15f\n", maximum);
|
||||
fk = maximum / 65536.0;
|
||||
fk = maximum / 65535.0;
|
||||
fprintf(fp, "# divisor %15f\n", fk);
|
||||
fprintf(fp, "65535\n");
|
||||
fflush(fp);
|
||||
|
Loading…
Reference in New Issue
Block a user