You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2010/02/02 23:52:19 UTC
[jira] Reopened: (TS-117) Casting Error Installing on 64-bit
[ https://issues.apache.org/jira/browse/TS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Call reopened TS-117:
---------------------------
Should have put the bug into the Resolved, not closed state.
> 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
> Assignee: Bryan Call
> Fix For: 2.0.0a
>
>
> 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.