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

Casting Error Installing on 64-bit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0a
    • Build
    • None
    • CentOS 4.8 64-bit

    Description

      Attempting to install on 64-bit OS returns this error in multiple places - Socks.cc just happens to be the first one. Looking this up on the internet shows that the problem is that casting using a pointer to/from an integer breaks in 64-bit because you are trying to cast a 64-bit data type into a 32-bit data type. I'm not a C programmer by trade so I have no idea how to fix this one.

      Socks.cc: In member function `void SocksEntry::free()':
      Socks.cc:149: warning: cast to pointer from integer of different size
      make[2]: *** [Socks.o] Error 1

      Line 149: action_.continuation->handleEvent(NET_EVENT_OPEN_FAILED, (void *) (-lerrno));

      Attachments

        Issue Links

          Activity

            People

              bcall Bryan Call
              photobucket Photobucket Operations
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: