diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/queue.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/queue.c b/src/core/queue.c index 9323803..035f1e0 100644 --- a/src/core/queue.c +++ b/src/core/queue.c @@ -109,8 +109,7 @@ wgroup_id_t setup_global_work_group(void) G_LOCK(_gg_mutex); - _global_group_ids = (wgroup_id_t *)realloc(_global_group_ids, - ++_global_group_count * sizeof(wgroup_id_t)); + _global_group_ids = realloc(_global_group_ids, ++_global_group_count * sizeof(wgroup_id_t)); _global_group_ids[_global_group_count - 1] = result; @@ -144,8 +143,7 @@ wgroup_id_t setup_tiny_global_work_group(guint count) G_LOCK(_gg_mutex); - _global_group_ids = (wgroup_id_t *)realloc(_global_group_ids, - ++_global_group_count * sizeof(wgroup_id_t)); + _global_group_ids = realloc(_global_group_ids, ++_global_group_count * sizeof(wgroup_id_t)); _global_group_ids[_global_group_count - 1] = result; |