Skip to content

Commit

Permalink
change function declaration to match Tcl_CmdProc type
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Jun 19, 2016
1 parent c3c16dd commit b4e0ba1
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 b4e0ba1

Please sign in to comment.