Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/UI/Common/SortUtils.cpp')
-rwxr-xr-x7zip/UI/Common/SortUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/7zip/UI/Common/SortUtils.cpp b/7zip/UI/Common/SortUtils.cpp
index b6ed8d52..1c647d53 100755
--- a/7zip/UI/Common/SortUtils.cpp
+++ b/7zip/UI/Common/SortUtils.cpp
@@ -26,7 +26,7 @@ void SortStringsToIndices(const UStringVector &strings, CIntVector &indices)
void **stringsBase = (void **)pointers[0];
qsort(&pointers[0], numItems, sizeof(void *), CompareStrings);
for(i = 0; i < numItems; i++)
- indices.Add((void **)pointers[i] - stringsBase);
+ indices.Add((int)((void **)pointers[i] - stringsBase));
}
void SortStrings(const UStringVector &src, UStringVector &dest)