aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 8a75e49f..f8fa0e0f 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -520,7 +520,7 @@ function JSify(data, functionsOnly, givenFunctions) {
var type = removePointing(param.type);
var typeInfo = Types.types[type];
func.JS += ' var tempParam = ' + param.ident + '; ' + param.ident + ' = ' + RuntimeGenerator.stackAlloc(typeInfo.flatSize) + ';' +
- makeCopyValues(param.ident, 'tempParam', typeInfo.flatSize, 'null') + ';\n';
+ makeCopyValues(param.ident, 'tempParam', typeInfo.flatSize, 'null', null, 1) + ';\n';
}
});