[education/rkward] rkward/rbackend: Fix compilation

Thomas Friedrichsmeier null at kde.org
Fri May 10 17:04:24 BST 2024


Git commit 20194f633c6fe9bb9a3fca88747d22b605547754 by Thomas Friedrichsmeier.
Committed on 06/05/2024 at 15:25.
Pushed by tfry into branch 'master'.

Fix compilation

M  +1    -1    rkward/rbackend/rkrbackend_dlopen.cpp

https://invent.kde.org/education/rkward/-/commit/20194f633c6fe9bb9a3fca88747d22b605547754

diff --git a/rkward/rbackend/rkrbackend_dlopen.cpp b/rkward/rbackend/rkrbackend_dlopen.cpp
index 7bc0adabc..3c7892f7d 100644
--- a/rkward/rbackend/rkrbackend_dlopen.cpp
+++ b/rkward/rbackend/rkrbackend_dlopen.cpp
@@ -16,7 +16,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 
 void *resolve_symb(void* dllinfo, const char* name) {
 #ifdef Win32
-	retrun GetProcAddress(dllinfo, name);
+	return GetProcAddress((HMODULE) dllinfo, name);
 #else
 	return dlsym(dllinfo, name);
 #endif



More information about the rkward-tracker mailing list