diff options
| author | Wiimm <none> | 2020-07-27 12:52:34 +0200 |
|---|---|---|
| committer | Wiimm <none> | 2020-07-27 12:52:34 +0200 |
| commit | 9f75cd52d87c670176235302f50161bd6ebc7fc1 (patch) | |
| tree | b733f2cbb8c24b5ead0d718f9acf4efb8b192306 /project/src/lib-image2.c | |
| parent | 88e810624c68f35f1d1adb2f7738bea3318b6fb4 (diff) | |
r8228: solved most mac warnings
Diffstat (limited to '')
| -rw-r--r-- | project/src/lib-image2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/project/src/lib-image2.c b/project/src/lib-image2.c index 614838d..1f861b5 100644 --- a/project/src/lib-image2.c +++ b/project/src/lib-image2.c @@ -80,7 +80,8 @@ enumError AssignIMG // [[analyse-magic]] const file_format_t fform = GetByMagicFF(data,data_size,data_size); - image_format_t iform = IMG_INVALID, pform = PAL_INVALID; + image_format_t iform = IMG_INVALID; + palette_format_t pform = PAL_INVALID; uint width = 0, height = 0, n_pal = 0, psize = 0, n_img = 0; const u8 *idata = 0, *pdata = 0; bool calc_geo = false; // true: calculate geometry for mipmaps |
