freebsd-ports/graphics/ayam/files/patch-objects_npatch.c
Mathieu Arnold 193379f492 Update to 1.23.
PR:		206248
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-03-08 16:04:15 +00:00

20 lines
681 B
C

--- objects/npatch.c.orig 2016-01-13 20:09:57 UTC
+++ objects/npatch.c
@@ -1970,7 +1970,7 @@ ay_npatch_setpropcb(Tcl_Interp *interp,
{
Tcl_SplitList(interp, Tcl_GetVar2(interp, n1, "Knots_U",
TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
- &knotc, &knotv);
+ &knotc, (const char ***)&knotv);
if(!(nknotv = malloc(knotc * sizeof(double))))
{
@@ -2024,7 +2024,7 @@ ay_npatch_setpropcb(Tcl_Interp *interp,
{
Tcl_SplitList(interp, Tcl_GetVar2(interp, n1, "Knots_V",
TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
- &knotc, &knotv);
+ &knotc, (const char ***)&knotv);
if(!(nknotv = malloc(knotc * sizeof(double))))
{