summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-03-24 22:01:28 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-03-24 22:01:28 +0000
commite55a0a37099caec739bcddd2f1a459a322bbec0c (patch)
treeef78ce3048cbe679986cbe138cabfef89d1f114b /include
parentc5096a31de6493c9d88d72bc339e50a45afd052d (diff)
downloadlibnsgif-e55a0a37099caec739bcddd2f1a459a322bbec0c.tar.gz
API: Use uint32_t for background colour info member.
This avoids increasing alignment of pointer type where we handle the background fill.
Diffstat (limited to 'include')
-rw-r--r--include/nsgif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nsgif.h b/include/nsgif.h
index 655486b..0ee00e8 100644
--- a/include/nsgif.h
+++ b/include/nsgif.h
@@ -346,7 +346,7 @@ typedef struct nsgif_info {
/** number of animation loops so far */
int loop_count;
/** background colour in same pixel format as \ref nsgif_bitmap_t. */
- uint8_t background[4];
+ uint32_t background;
} nsgif_info_t;
/**