We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8726714 commit a5ca9d8Copy full SHA for a5ca9d8
kos/src/libvideo/gfx/io/bmp.c.inl
@@ -637,7 +637,10 @@ INTERN ATTR_NOINLINE WUNUSED NONNULL((1, 2)) int CC
637
libvideo_buffer_save_bmp(struct video_buffer *__restrict self,
638
FILE *stream, char const *options) {
639
struct ATTR_PACKED bmp_pal_color {
640
- uint8_t r, g, b, zero;
+ uint8_t b;
641
+ uint8_t g;
642
+ uint8_t r;
643
+ uint8_t zero;
644
};
645
struct ATTR_PACKED bm_hdr {
646
BITMAPFILEHEADER bmFile;
0 commit comments