Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Compare Revisions
b4f94b1e28b35a6e9024b068ccc6d0b8a3bec7b3...a47c0a08a85fdb9fff8234c57ba4f67469286a2d
Commits (1)
Declare blend() as inline to eliminate gcc warning
· a47c0a08
Rob Swindell
authored
May 20, 2021
warning: always_inline function might not be inlinable [-Wattributes]
a47c0a08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/conio/scale.c
src/conio/scale.c
+1
-1
No files found.
src/conio/scale.c
View file @
a47c0a08
...
...
@@ -728,7 +728,7 @@ static
#ifndef _MSC_VER
__attribute__
((
always_inline
))
#endif
uint32_t
blend
(
const
uint32_t
c1
,
const
uint32_t
c2
,
const
double
weight
)
inline
uint32_t
blend
(
const
uint32_t
c1
,
const
uint32_t
c2
,
const
double
weight
)
{
uint8_t
yuv1
[
4
];
uint8_t
yuv2
[
4
];
...
...