Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2476

Do not assume that size_t is unsigned long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • Build, TS API
    • None

    Description

      size_t is implementation dependant. Its usually unsigned long on 64 bit arches - 64 bit, but unsigned integer 32 bit on 32 bit arches.

      Attachments

        1. patch-sizeof
          0.7 kB
          Radim Kolar

        Activity

          People

            jamespeach James Peach
            hsn Radim Kolar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: