Check-in [eed618f01c]
Overview
Comment:Removed warnings
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:eed618f01cf92f56807a6db7660b142882be9193
User & Date: rkeene on 2014-09-08 02:55:38
Other Links: manifest | tags
Context
2014-09-08
03:18
More rework check-in: ebf9995a42 user: rkeene tags: trunk
02:55
Removed warnings check-in: eed618f01c user: rkeene tags: trunk
02:55
Updated to not use KitDLL (not needed) check-in: c00111a8d5 user: rkeene tags: trunk
Changes

Modified appfs.c from [4b3327c544] to [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