mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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);
|
const char* mode, int xsize, int ysize);
|
||||||
|
|
||||||
extern Imaging ImagingNewPrologue(const char *mode,
|
extern Imaging ImagingNewPrologue(const char *mode,
|
||||||
unsigned xsize, unsigned ysize);
|
int xsize, int ysize);
|
||||||
extern Imaging ImagingNewPrologueSubtype(const char *mode,
|
extern Imaging ImagingNewPrologueSubtype(const char *mode,
|
||||||
unsigned xsize, unsigned ysize,
|
int xsize, int ysize,
|
||||||
int structure_size);
|
int structure_size);
|
||||||
extern Imaging ImagingNewEpilogue(Imaging im);
|
extern Imaging ImagingNewEpilogue(Imaging im);
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ int ImagingNewCount = 0;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Imaging
|
Imaging
|
||||||
ImagingNewPrologueSubtype(const char *mode, unsigned xsize, unsigned ysize,
|
ImagingNewPrologueSubtype(const char *mode, int xsize, int ysize,
|
||||||
int size)
|
int size)
|
||||||
{
|
{
|
||||||
Imaging im;
|
Imaging im;
|
||||||
|
@ -226,7 +226,7 @@ ImagingNewPrologueSubtype(const char *mode, unsigned xsize, unsigned ysize,
|
||||||
}
|
}
|
||||||
|
|
||||||
Imaging
|
Imaging
|
||||||
ImagingNewPrologue(const char *mode, unsigned xsize, unsigned ysize)
|
ImagingNewPrologue(const char *mode, int xsize, int ysize)
|
||||||
{
|
{
|
||||||
return ImagingNewPrologueSubtype(
|
return ImagingNewPrologueSubtype(
|
||||||
mode, xsize, ysize, sizeof(struct ImagingMemoryInstance)
|
mode, xsize, ysize, sizeof(struct ImagingMemoryInstance)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user