mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Convert xsize/ysize to ints in function declarations to match all other uses of xsize/ysize
This commit is contained in:
parent
49566b287e
commit
d48e5cd500
|
@ -168,9 +168,9 @@ extern Imaging ImagingNewMap(const char* filename, int readonly,
|
|||
const char* mode, int xsize, int ysize);
|
||||
|
||||
extern Imaging ImagingNewPrologue(const char *mode,
|
||||
unsigned xsize, unsigned ysize);
|
||||
int xsize, int ysize);
|
||||
extern Imaging ImagingNewPrologueSubtype(const char *mode,
|
||||
unsigned xsize, unsigned ysize,
|
||||
int xsize, int ysize,
|
||||
int structure_size);
|
||||
extern Imaging ImagingNewEpilogue(Imaging im);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ int ImagingNewCount = 0;
|
|||
*/
|
||||
|
||||
Imaging
|
||||
ImagingNewPrologueSubtype(const char *mode, unsigned xsize, unsigned ysize,
|
||||
ImagingNewPrologueSubtype(const char *mode, int xsize, int ysize,
|
||||
int size)
|
||||
{
|
||||
Imaging im;
|
||||
|
@ -226,7 +226,7 @@ ImagingNewPrologueSubtype(const char *mode, unsigned xsize, unsigned ysize,
|
|||
}
|
||||
|
||||
Imaging
|
||||
ImagingNewPrologue(const char *mode, unsigned xsize, unsigned ysize)
|
||||
ImagingNewPrologue(const char *mode, int xsize, int ysize)
|
||||
{
|
||||
return ImagingNewPrologueSubtype(
|
||||
mode, xsize, ysize, sizeof(struct ImagingMemoryInstance)
|
||||
|
|
Loading…
Reference in New Issue
Block a user