mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/color: use variable instead of type in sizeof()
Conforms to the wlroots code style.
This commit is contained in:
parent
d421538b4a
commit
9b97e2607d
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ struct wlr_color_transform *wlr_color_transform_init_linear_to_icc(
|
|||
}
|
||||
}
|
||||
|
||||
tx = calloc(1, sizeof(struct wlr_color_transform_lut3d));
|
||||
tx = calloc(1, sizeof(*tx));
|
||||
if (!tx) {
|
||||
goto out_lcms_tr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue