mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
A few typecasts to enable / simplify 64-bit compilation
git-svn-id: svn://ultimatepp.org/upp/trunk@1653 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4d38ee9d2d
commit
816ac590d9
3 changed files with 11 additions and 11 deletions
|
|
@ -1000,7 +1000,7 @@ template <class II, class VI, class K, class Less>
|
|||
inline void __IndexSort(II begin, II end, VI pair, const Less& less, const K *)
|
||||
{
|
||||
Sort(IndexSortIterator<II, VI, K>(begin, pair),
|
||||
IndexSortIterator<II, VI, K>(end, pair + (end - begin)),
|
||||
IndexSortIterator<II, VI, K>(end, pair + (int)(ptrdiff_t)(end - begin)),
|
||||
less);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue