mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
palette.c: fix msvc warnings
after:
1432ebba
Refactor palette sorting computation.
fixes:
src\utils\palette.c(384): warning C4028: formal parameter 2 different
from declaration
src\utils\palette.c(384): warning C4028: formal parameter 3 different
from declaration
src\utils\palette.c(384): warning C4028: formal parameter 5 different
from declaration
Change-Id: If29205f346e674108646045b7a3d90f078fed9b0
This commit is contained in:
parent
dd88d2ff3e
commit
c63c5df618
@ -53,8 +53,8 @@ int GetColorPalette(const struct WebPPicture* const pic,
|
||||
// Sorts the palette according to the criterion defined by 'method'.
|
||||
// 'palette_sorted' is the input palette sorted lexicographically, as done in
|
||||
// PrepareMapToPalette. Returns 0 on memory allocation error.
|
||||
int PaletteSort(PaletteSorting method, const struct WebPPicture* pic,
|
||||
const uint32_t* palette_sorted, uint32_t num_colors,
|
||||
uint32_t* palette);
|
||||
int PaletteSort(PaletteSorting method, const struct WebPPicture* const pic,
|
||||
const uint32_t* const palette_sorted, uint32_t num_colors,
|
||||
uint32_t* const palette);
|
||||
|
||||
#endif // WEBP_UTILS_PALETTE_H_
|
||||
|
Loading…
Reference in New Issue
Block a user