C runtime: fix ExtendedCall stub
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sat, 23 Nov 2024 00:49:57 +0100
changeset 4045 6975b486b07f
parent 4044 2a4b8b59d165
child 4046 808f7da43a4d
C runtime: fix ExtendedCall stub
C_runtime/PLCObject.cpp
--- a/C_runtime/PLCObject.cpp	Sat Nov 23 00:49:26 2024 +0100
+++ b/C_runtime/PLCObject.cpp	Sat Nov 23 00:49:57 2024 +0100
@@ -679,7 +679,7 @@
 {
     // TODO
 
-    answer->data = (uint8_t*)"";
+    answer->data = (uint8_t *)malloc(0);
     answer->dataLength = 0;
 
     return 0;