about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibxtst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibxtst.c')
-rwxr-xr-xsrc/wrapped/wrappedlibxtst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibxtst.c b/src/wrapped/wrappedlibxtst.c
index a99be56f..eaec1de6 100755
--- a/src/wrapped/wrappedlibxtst.c
+++ b/src/wrapped/wrappedlibxtst.c
@@ -68,7 +68,7 @@ EXPORT int my_XRecordEnableContext(x64emu_t* emu, void* display, void* context,
 
 #define CUSTOM_INIT \
     getMy(lib);     \
-    setNeededLibs(&lib->priv.w, 2, "libX11.so.6", "libXext.so.6");
+    setNeededLibs(lib, 2, "libX11.so.6", "libXext.so.6");
 
 #define CUSTOM_FINI \
     freeMy();