Fix interface bug with invalid memory access
This commit is contained in:
@@ -45,7 +45,7 @@ GroundValue groundCreateValue(GroundValueType type, ...) {
|
|||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case INT: {
|
case INT: {
|
||||||
return createIntGroundValue(va_arg(args, int));
|
return createIntGroundValue(va_arg(args, int64_t));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DOUBLE: {
|
case DOUBLE: {
|
||||||
|
|||||||
Reference in New Issue
Block a user