diff options
Diffstat (limited to 'source3/modules/vfs_shadow_copy2.c')
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index b26bf272fe..a4265474bf 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -838,9 +838,9 @@ static void shadow_copy2_sort_data(vfs_handle_struct *handle, if (shadow_copy2_data && shadow_copy2_data->num_volumes > 0 && shadow_copy2_data->labels) { - qsort(shadow_copy2_data->labels, - shadow_copy2_data->num_volumes, - sizeof(SHADOW_COPY_LABEL), cmpfunc); + TYPESAFE_QSORT(shadow_copy2_data->labels, + shadow_copy2_data->num_volumes, + cmpfunc); } return; |