From 7bd341fecb5d383e9c4b765b258ca5ef5fbc70db Mon Sep 17 00:00:00 2001 From: homm Date: Mon, 20 Jun 2016 00:03:40 +0300 Subject: [PATCH] change function declaration to match Tcl_CmdProc type --- Tk/tkImaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tk/tkImaging.c b/Tk/tkImaging.c index 07e2bb04d..7f030bf89 100644 --- a/Tk/tkImaging.c +++ b/Tk/tkImaging.c @@ -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;