summaryrefslogtreecommitdiffstats
path: root/loader/dshow/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/dshow/allocator.c')
-rw-r--r--loader/dshow/allocator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/dshow/allocator.c b/loader/dshow/allocator.c
index 8ead279a37..b75f1bebfb 100644
--- a/loader/dshow/allocator.c
+++ b/loader/dshow/allocator.c
@@ -58,7 +58,7 @@ static inline int avm_list_print(avm_list_t* head)
static inline avm_list_t* avm_list_add_head(avm_list_t* head, void* member)
{
- avm_list_t* n = (avm_list_t*) malloc(sizeof(avm_list_t));
+ avm_list_t* n = malloc(sizeof(avm_list_t));
n->member = member;
if (!head)
@@ -310,7 +310,7 @@ IMPLEMENT_IUNKNOWN(MemAllocator)
MemAllocator* MemAllocatorCreate()
{
- MemAllocator* This = (MemAllocator*) malloc(sizeof(MemAllocator));
+ MemAllocator* This = malloc(sizeof(MemAllocator));
if (!This)
return NULL;
@@ -323,7 +323,7 @@ MemAllocator* MemAllocatorCreate()
This->props.cbAlign = 1;
This->props.cbPrefix = 0;
- This->vt = (IMemAllocator_vt*) malloc(sizeof(IMemAllocator_vt));
+ This->vt = malloc(sizeof(IMemAllocator_vt));
if (!This->vt)
{