use u32 instead, add --with

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@697 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
Nishi 2025-11-14 06:38:54 +00:00
commit 37b61be9f9
21 changed files with 17764 additions and 17744 deletions

View file

@ -701,7 +701,7 @@ void MwGetColor(MwLLColor color, int* red, int* green, int* blue) {
*blue = color->common.blue;
}
MwLLPixmap MwLoadIcon(MwWidget handle, unsigned int* data) {
MwLLPixmap MwLoadIcon(MwWidget handle, MwU32* data) {
int width = (data[0] >> 16) & 0xffff;
int height = (data[0]) & 0xffff;
unsigned char* rgba = malloc(width * height * 4);