Fix to dlsym casting type for VwriteBE pointer to API function

This commit is contained in:
Simon Southwell 2024-07-09 10:14:35 +01:00
commit 00fda943ba
3 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
#include <pthread.h>
#include <semaphore.h>
#define VERSION_STRING "VProc version 1.7.7. Copyright (c) 2004-2024 Simon Southwell."
#define VERSION_STRING "VProc version 1.7.8. Copyright (c) 2004-2024 Simon Southwell."
#ifndef VP_MAX_NODES
#define VP_MAX_NODES 64

Binary file not shown.

View file

@ -59,7 +59,7 @@ static int BindToApiFuncs(void)
return 1;
}
if ((VwriteBE = (wfunc_p)dlsym(hdl, "VWriteBE")) == NULL)
if ((VwriteBE = (wbefunc_p)dlsym(hdl, "VWriteBE")) == NULL)
{
fprintf(stderr, "***ERROR: failed to find symbol VWriteBE\n");
return 1;