aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/vector.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-07-01 22:27:53 -0700
committerChris Robinson <[email protected]>2014-07-01 22:27:53 -0700
commit8b1b52a687f87e1507dc612d7e9ae899ea69a0c2 (patch)
tree634b0ca8ae668b01487a4877dfde5ca3c3a96f76 /Alc/vector.h
parent56bb8689d4d4735aa79c71d41a0e87857dbece1c (diff)
Remove an unnecessary cast
Diffstat (limited to 'Alc/vector.h')
-rw-r--r--Alc/vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/vector.h b/Alc/vector.h
index 5c094bee..5e169f24 100644
--- a/Alc/vector.h
+++ b/Alc/vector.h
@@ -29,8 +29,8 @@ ALboolean vector_reserve(void *ptr, size_t base_size, size_t obj_count, size_t o
ALboolean vector_resize(void *ptr, size_t base_size, size_t obj_count, size_t obj_size);
#define VECTOR_RESIZE(_x, _c) (vector_resize(&(_x), sizeof(*(_x)), (_c), sizeof((_x)->Data[0])))
-#define VECTOR_CAPACITY(_x) ((const ALsizei)((_x) ? (_x)->Capacity : 0))
-#define VECTOR_SIZE(_x) ((const ALsizei)((_x) ? (_x)->Size : 0))
+#define VECTOR_CAPACITY(_x) ((_x) ? (_x)->Capacity : 0)
+#define VECTOR_SIZE(_x) ((_x) ? (_x)->Size : 0)
#define VECTOR_ITER_BEGIN(_x) ((_x)->Data + 0)
#define VECTOR_ITER_END(_x) ((_x)->Data + VECTOR_SIZE(_x))