Casting Error Installing on 64-bit ---------------------------------- Key: TS-117 URL: https://issues.apache.org/jira/browse/TS-117 Project: Traffic Server Issue Type: Bug Components: Build Affects Versions: 2.0.0 Environment: CentOS 4.8 64-bit Reporter: Photobucket Operations
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)); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.