From 97ed0b3533abeff445c77ea9a976604fd25c8967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez?= Date: Wed, 3 Jul 2024 10:46:46 +0200 Subject: [PATCH] Fix default enclosing type for 1-byte bitfield (#149) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- .../java/com/eprosima/idl/parser/typecode/BitfieldSpec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eprosima/idl/parser/typecode/BitfieldSpec.java b/src/main/java/com/eprosima/idl/parser/typecode/BitfieldSpec.java index 9355b067..568474a9 100644 --- a/src/main/java/com/eprosima/idl/parser/typecode/BitfieldSpec.java +++ b/src/main/java/com/eprosima/idl/parser/typecode/BitfieldSpec.java @@ -26,7 +26,7 @@ public static int generateKind( } else if (size <= 8) { - return Kind.KIND_OCTET; + return Kind.KIND_UINT8; } else if (size <= 16) {