summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/dl/lib/dl/struct.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/struct.rb b/ext/dl/lib/dl/struct.rb
index 0bdc25a879..ba7e81eaf9 100644
--- a/ext/dl/lib/dl/struct.rb
+++ b/ext/dl/lib/dl/struct.rb
@@ -160,7 +160,7 @@ module DL
end
end
- class CUnionEntity < CStruct
+ class CUnionEntity < CStructEntity
include PackInfo
def CUnionEntity.malloc(types, func=nil)