summaryrefslogtreecommitdiff
path: root/ext/dl/dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/dl.c')
-rw-r--r--ext/dl/dl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c
index 5a492b5..c1e5311 100644
--- a/ext/dl/dl.c
+++ b/ext/dl/dl.c
@@ -208,8 +208,10 @@ dlsizeof(const char *cstr)
size += sizeof(short) * n;
break;
case 'P':
+ case 'S':
DLALIGN(0,size,VOIDP_ALIGN);
case 'p':
+ case 's':
size += sizeof(void*) * n;
break;
default: