This cast-expression was meant to cast the result of the terniary
expression, but it just casted the condition expression instead. Let's
correct this, to silence a compiler-warning.
Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>
array->Ptr, _mesa_enum_to_string(array->Format.Type),
array->Format.Size,
array->Format._ElementSize, binding->Stride, bo ? bo->Name : 0,
- (unsigned long) bo ? bo->Size : 0);
+ (unsigned long)(bo ? bo->Size : 0));
}
}