QuickSort array size should be size_t

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b21
    • generic
    • generic

      QuickSort::sort takes an int size argument. Sizes should generally be size_t. But passing a size_t value when parameter type is int leads to a build failure on Windows-x64, because the compiler warns about the narrowing conversion.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: