Merge pull request #1974 from wiredfool/pr_1966

change function declaration to match Tcl_CmdProc type
This commit is contained in:
wiredfool 2016-06-21 12:26:03 +01:00 committed by GitHub
commit 4a8d2c6936

View File

@ -80,7 +80,7 @@ ImagingFind(const char* name)
static int
PyImagingPhotoPut(ClientData clientdata, Tcl_Interp* interp,
int argc, char **argv)
int argc, const char **argv)
{
Imaging im;
Tk_PhotoHandle photo;
@ -172,7 +172,7 @@ PyImagingPhotoPut(ClientData clientdata, Tcl_Interp* interp,
static int
PyImagingPhotoGet(ClientData clientdata, Tcl_Interp* interp,
int argc, char **argv)
int argc, const char **argv)
{
Tk_PhotoHandle photo;
Tk_PhotoImageBlock block;