[erlang-bugs] erts_sys_ddll_call_init() anomaly

hroe <>
Wed Aug 13 21:32:01 CEST 2008


Hi,

the win32 function

void *erts_sys_ddll_call_init(void *function) {
    void *(*initfn)(TWinDynDriverCallbacks *) = function;
    return (*initfn)(&wddc);
}

seems to be incorrect, it should have been:

void *erts_sys_ddll_call_init(void *function) {
    void *(*initfn)(void) = function;
    return (*initfn)();
}


Hth, Herman



More information about the erlang-bugs mailing list