fix pointer/array comparison paths not being enabled for not-equal; fix value arithmetic paths applying in type comparisons

This commit is contained in:
Ryan Fleury committed 2025-08-15 11:31:50 -07:00
1 parent 83650a5fe0
commit f754b4c2db
2 files changed
+16 -3

No files matched your search

+2 -2
View File
@@ -1175,8 +1175,8 @@ os_semaphore_drop(OS_Handle semaphore)
internal OS_Handle
os_barrier_alloc(U64 count)
{
OS_LNX_Entity *entity = os_w32_entity_alloc(OS_LNX_EntityKind_Barrier);
pthread_barrier_init(&entity->barrier, count);
OS_LNX_Entity *entity = os_lnx_entity_alloc(OS_LNX_EntityKind_Barrier);
pthread_barrier_init(&entity->barrier, 0, count);
OS_Handle result = {IntFromPtr(entity)};
return result;
}