Convert xsize/ysize to ints in function declarations to match all other uses of xsize/ysize

This commit is contained in:
wiredfool 2016-05-21 07:23:03 -07:00
parent 49566b287e
commit d48e5cd500
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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)