diff --git a/src/cursor.jl b/src/cursor.jl index 3a5429bc..4fe1c2b8 100644 --- a/src/cursor.jl +++ b/src/cursor.jl @@ -244,7 +244,8 @@ function value(c::CLEnumConstantDecl)::Integer end if typeKind == CXType_Int || typeKind == CXType_Long || - typeKind == CXType_LongLong + typeKind == CXType_LongLong || + typeKind == CXType_Char_S # enum : char return clang_getEnumConstantDeclValue(c) elseif typeKind == CXType_UInt || typeKind == CXType_ULong ||