mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-09-13 19:49:24 +00:00
kind mask should be const value
This commit is contained in:
committed by
Ryan Fleury
parent
60c4518d65
commit
ffc6905b06
@@ -2716,17 +2716,17 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
|
|||||||
//- rjf: fill container info
|
//- rjf: fill container info
|
||||||
if(src_udt->container_scope != 0)
|
if(src_udt->container_scope != 0)
|
||||||
{
|
{
|
||||||
dst_udt->container_flags |= (RDI_ContainerKind_Scope & RDI_ContainerFlag_KindMask);
|
dst_udt->container_flags |= (RDI_ContainerKind_Scope & (RDI_U32)RDI_ContainerFlag_KindMask);
|
||||||
dst_udt->container_idx = (RDI_U32)rdim_idx_from_scope(src_udt->container_scope); // TODO(rjf): @u64_to_u32
|
dst_udt->container_idx = (RDI_U32)rdim_idx_from_scope(src_udt->container_scope); // TODO(rjf): @u64_to_u32
|
||||||
}
|
}
|
||||||
else if(src_udt->container_namespace != 0)
|
else if(src_udt->container_namespace != 0)
|
||||||
{
|
{
|
||||||
dst_udt->container_flags |= (RDI_ContainerKind_Namespace & RDI_ContainerFlag_KindMask);
|
dst_udt->container_flags |= (RDI_ContainerKind_Namespace & (RDI_U32)RDI_ContainerFlag_KindMask);
|
||||||
dst_udt->container_idx = (RDI_U32)rdim_idx_from_namespace(src_udt->container_namespace); // TODO(rjf): @u64_to_u32
|
dst_udt->container_idx = (RDI_U32)rdim_idx_from_namespace(src_udt->container_namespace); // TODO(rjf): @u64_to_u32
|
||||||
}
|
}
|
||||||
else if(src_udt->container_type != 0)
|
else if(src_udt->container_type != 0)
|
||||||
{
|
{
|
||||||
dst_udt->container_flags |= (RDI_ContainerKind_Type & RDI_ContainerFlag_KindMask);
|
dst_udt->container_flags |= (RDI_ContainerKind_Type & (RDI_U32)RDI_ContainerFlag_KindMask);
|
||||||
dst_udt->container_idx = (RDI_U32)rdim_idx_from_udt(src_udt->container_type->udt); // TODO(rjf): @u64_to_u32
|
dst_udt->container_idx = (RDI_U32)rdim_idx_from_udt(src_udt->container_type->udt); // TODO(rjf): @u64_to_u32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user