summaryrefslogtreecommitdiff
path: root/lib/mesa/src/util/u_vector.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/util/u_vector.c')
-rw-r--r--lib/mesa/src/util/u_vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/util/u_vector.c b/lib/mesa/src/util/u_vector.c
index 3c5593da7..cd23b963e 100644
--- a/lib/mesa/src/util/u_vector.c
+++ b/lib/mesa/src/util/u_vector.c
@@ -78,7 +78,7 @@ u_vector_add(struct u_vector *vector)
* piece goes to the right locations. Thanks to the change in
* size, it may or may not still wrap around.
*/
- split = u_align_u32(vector->tail, vector->size);
+ split = align(vector->tail, vector->size);
assert(vector->tail <= split && split < vector->head);
memcpy((char *)data + dst_tail, (char *)vector->data + src_tail,
split - vector->tail);