You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/08/15 15:59:20 UTC

[jira] [Updated] (TS-228) Cleanup usage of "long" in all code

     [ https://issues.apache.org/jira/browse/TS-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Call updated TS-228:
--------------------------
    Labels: Newbie  (was: )

> Cleanup usage of "long" in all code
> -----------------------------------
>
>                 Key: TS-228
>                 URL: https://issues.apache.org/jira/browse/TS-228
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cleanup
>    Affects Versions: 2.1.0
>            Reporter: John Plevyak
>              Labels: Newbie
>             Fix For: sometime
>
>
> Solaris 64-bit SunPro long is 64-bit while for g++ 64-bit long is 32-bit.
> This is a potential can of worms which at the least is making records.snap
> incompatible but at worse could be the cause of other bugs.
> In any case we should not be using "long" in the TS code, but instead use
> either "int" which is always 32-bits or "inkXXX" of a particular size.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)