[education/rkward/devel/workspace_output] rkward/rbackend: Fix compiler warning.

Thomas Friedrichsmeier null at kde.org
Sat Oct 10 09:18:45 BST 2020


Git commit 421897ef1a2ddfb3b528b3b4cb133a81b8650b49 by Thomas Friedrichsmeier.
Committed on 07/10/2020 at 14:46.
Pushed by tfry into branch 'devel/workspace_output'.

Fix compiler warning.

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

https://invent.kde.org/education/rkward/commit/421897ef1a2ddfb3b528b3b4cb133a81b8650b49

diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index 4fb3e86d..f1949c9e 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -1141,7 +1141,7 @@ bool RKRBackend::startR () {
 	R_CallMethodDef callMethods [] = {
 		// NOTE: Intermediate cast to void* to avoid compiler warning
 		{ "ws", (DL_FUNC) (void*) &doWs, 1 },
-		{ "rk.simple", (DL_FUNC) &doSimpleBackendCall, 1},
+		{ "rk.simple", (DL_FUNC) (void*) &doSimpleBackendCall, 1},
 		{ "rk.do.command", (DL_FUNC) (void*) &doSubstackCall, 1 },
 		{ "rk.do.generic.request", (DL_FUNC) (void*) &doPlainGenericRequest, 2 },
 		{ "rk.get.structure", (DL_FUNC) (void*) &doGetStructure, 4 },




More information about the rkward-tracker mailing list