Unless we cast, thorough compilers will complain

This commit is contained in:
Richard Levitte 2000-09-18 08:40:55 +00:00
parent 362f2b69ff
commit 4534fb1c86

View File

@ -340,7 +340,7 @@ static void *vms_bind_var(DSO *dso, const char *symname)
static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname) static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname)
{ {
DSO_FUNC_TYPE sym = 0; DSO_FUNC_TYPE sym = 0;
vms_bind_sym(dso, symname, &sym); vms_bind_sym(dso, symname, (void **)&sym);
return sym; return sym;
} }