--- src/spvw.d +++ src/spvw.d 2005-12-15 14:47:54.000000000 +0100 @@ -3546,7 +3546,7 @@ returns: non-NULL pointer to the symbol in the library */ local void* get_module_symbol (const char* format, const char* modname, void* libhandle) { - var char * symbolbuf = alloca(strlen(format)+strlen(modname)); + var char * symbolbuf = (char *)alloca(strlen(format)+strlen(modname)); sprintf(symbolbuf,format,modname); var void * ret = find_name(libhandle,symbolbuf); if (ret == NULL) fehler_dlerror("dlsym",symbolbuf,dlerror());