Skip to content
Snippets Groups Projects
Commit 80b9fccc authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add most const decorations.

Not sure what macOS is doing, but it looks like something weird is
happening in interpolate_width... maybe some unexpected integer
promotion?
parent e3f17e64
Branches
Tags
No related merge requests found
Pipeline #7046 passed
......@@ -763,7 +763,7 @@ struct YCoCg_data {
};
static inline void
RGB_to_YCoCg(const uint32_t RGB, struct YCoCg_data *YCoCg)
RGB_to_YCoCg(const uint32_t RGB, struct YCoCg_data * const YCoCg)
{
signed R, G, B, tmp;
......@@ -778,7 +778,7 @@ RGB_to_YCoCg(const uint32_t RGB, struct YCoCg_data *YCoCg)
}
static inline uint32_t
YCoCg_to_RGB(struct YCoCg_data *YCoCg)
YCoCg_to_RGB(struct YCoCg_data const * const YCoCg)
{
signed Ri, Gi, Bi, tmp;
unsigned R, G, B;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment