Fix compiler errors on Solaris.

This commit is contained in:
Andrew Johnson
2012-07-09 12:39:00 -05:00
parent 48c805ab3d
commit ead5832a1f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -172,8 +172,9 @@ static int store_boolean_value(const chfPluginArgDef *opt, char *user, int val)
* and store the result at 'user + opt->offset'.
*/
static int
store_double_value(const chfPluginArgDef *opt, void *user, double val)
store_double_value(const chfPluginArgDef *opt, void *vuser, double val)
{
char *user = vuser;
epicsInt32 *ival;
double *dval;
char *sval;
+1 -1
View File
@@ -242,7 +242,7 @@ static void * chf_realloc(void *ctx, void *ptr, unsigned int sz)
static void chf_free(void *ctx, void *ptr)
{
return free(ptr);
free(ptr);
}
static const yajl_alloc_funcs chf_alloc =