summaryrefslogtreecommitdiff
path: root/graphics/ayam/files/patch-objects_npatch.c
blob: 7738904aaa5f46d831126d1c0c9ea7a34b5e97bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- objects/npatch.c.orig	2007-12-17 18:39:37.000000000 +0100
+++ objects/npatch.c	2007-12-17 18:40:02.000000000 +0100
@@ -1260,7 +1260,7 @@
       ay_error(AY_EOUTPUT, fname, "Checking new knots for U...");
       Tcl_SplitList(interp, Tcl_GetVar2(interp, n1, "Knots_U",
 					TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
-		    &knotc, &knotv);
+		    &knotc, (const char ***)&knotv);
 
       if(!(nknotv = calloc(knotc, sizeof(double))))
 	{
@@ -1324,7 +1324,7 @@
       ay_error(AY_EOUTPUT, fname, "Checking new knots for V...");
       Tcl_SplitList(interp,Tcl_GetVar2(interp, n1, "Knots_V",
 				       TCL_LEAVE_ERR_MSG | TCL_GLOBAL_ONLY),
-		    &knotc, &knotv);
+		    &knotc, (const char ***)&knotv);
 
       if(!(nknotv = calloc(knotc, sizeof(double))))
 	{