Skip to content

Commit

Permalink
Merge pull request #1974 from wiredfool/pr_1966
Browse files Browse the repository at this point in the history
change function declaration to match Tcl_CmdProc type
  • Loading branch information
wiredfool committed Jun 21, 2016
2 parents 17668a9 + 7bd341f commit 4a8d2c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tk/tkImaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4a8d2c6

Please sign in to comment.