Diff

Differences From Artifact [4b3327c544]:

To Artifact [09f9ed7337]:


   119    119   static int appfs_Tcl_Eval(Tcl_Interp *interp, int objc, const char *cmd, ...) {
   120    120   	Tcl_Obj **objv;
   121    121   	const char *arg;
   122    122   	va_list argp;
   123    123   	int retval;
   124    124   	int i;
   125    125   
   126         -	objv = ckalloc(sizeof(*objv) * objc);
          126  +	objv = (void *) ckalloc(sizeof(*objv) * objc);
   127    127   	objv[0] = Tcl_NewStringObj(cmd, -1);
   128    128   
   129    129   	va_start(argp, cmd);
   130    130   	for (i = 1; i < objc; i++) {
   131    131   		arg = va_arg(argp, const char *);
   132    132   		objv[i] = Tcl_NewStringObj(arg, -1);
   133    133   	}
   134    134   	va_end(argp);
   135    135   
   136    136   	retval = Tcl_EvalObjv(interp, objc, objv, 0);
   137    137   
   138         -	ckfree(objv);
          138  +	ckfree((void *) objv);
   139    139   
   140    140   	return(retval);
   141    141   }
   142    142   
   143    143   static struct appfs_package *appfs_getindex(const char *hostname, int *package_count_p) {
   144    144   	int tcl_ret;
   145    145