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

Do not assume that size_t is unsigned long

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Build, TS API
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: