Fix compiler errors on Solaris.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user