| Index: third_party/qcms/src/iccread.c
|
| diff --git a/third_party/qcms/src/iccread.c b/third_party/qcms/src/iccread.c
|
| index b0a9a0296f140702980fb23efc90cf8b5706466e..124506597fc30776dc9a3a4c1db0fe90ad8bf4c0 100644
|
| --- a/third_party/qcms/src/iccread.c
|
| +++ b/third_party/qcms/src/iccread.c
|
| @@ -1162,6 +1162,7 @@ static struct curveType *curve_from_gamma(float gamma)
|
| curve = malloc(sizeof(struct curveType) + sizeof(uInt16Number)*num_entries);
|
| if (!curve)
|
| return NULL;
|
| + curve->type = CURVE_TYPE;
|
| curve->count = num_entries;
|
| curve->data[0] = float_to_u8Fixed8Number(gamma);
|
| return curve;
|
|
|