diff --git a/src/util/util_small_vector.h b/src/util/util_small_vector.h index daf5bedb..3302f1c5 100644 --- a/src/util/util_small_vector.h +++ b/src/util/util_small_vector.h @@ -106,7 +106,7 @@ namespace dxvk { union { storage* m_ptr; - storage m_data[sizeof(T) * N]; + storage m_data[N]; } u; size_t pick_capacity(size_t n) {