Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 685202
Collapse All | Expand All

(-)libopenshot-audio-0.1.4/JuceLibraryCode/modules/juce_graphics/colour/juce_PixelFormats.h (-4 / +4 lines)
Lines 110-119 Link Here
110
110
111
   #if JUCE_GCC && ! JUCE_CLANG
111
   #if JUCE_GCC && ! JUCE_CLANG
112
    // NB these are here as a workaround because GCC refuses to bind to packed values.
112
    // NB these are here as a workaround because GCC refuses to bind to packed values.
113
    forcedinline uint8& getAlpha() noexcept           { return comps [indexA]; }
113
    forcedinline uint8& getAlpha() noexcept           { return (uint8 &) comps [indexA]; }
114
    forcedinline uint8& getRed() noexcept             { return comps [indexR]; }
114
    forcedinline uint8& getRed() noexcept             { return (uint8 &) comps [indexR]; }
115
    forcedinline uint8& getGreen() noexcept           { return comps [indexG]; }
115
    forcedinline uint8& getGreen() noexcept           { return (uint8 &) comps [indexG]; }
116
    forcedinline uint8& getBlue() noexcept            { return comps [indexB]; }
116
    forcedinline uint8& getBlue() noexcept            { return (uint8 &) comps [indexB]; }
117
   #else
117
   #else
118
    forcedinline uint8& getAlpha() noexcept           { return components.a; }
118
    forcedinline uint8& getAlpha() noexcept           { return components.a; }
119
    forcedinline uint8& getRed() noexcept             { return components.r; }
119
    forcedinline uint8& getRed() noexcept             { return components.r; }

Return to bug 685202