aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 37e0a881..e226b395 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -459,7 +459,7 @@ function calcAllocatedSize(type, TYPES) {
if (pointingLevels(type) == 0 && isStructType(type)) {
return TYPES[type].flatSize; // makeEmptyStruct(item.allocatedType).length;
} else {
- return 1;
+ return getNativeFieldSize(type, true); // We can really get away with '1', though, at least on the stack...
}
}