You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2010/03/04 00:12:27 UTC

[jira] Created: (TS-228) Solaris 64-bit SunPro long is 64-bit while for g++ 64-bit long is 32-bit, we shoud not use "long" anywhere in TS

Solaris 64-bit SunPro long is 64-bit while for g++ 64-bit long is 32-bit, we shoud not use "long" anywhere in TS
----------------------------------------------------------------------------------------------------------------

                 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
             Fix For: 2.1.0


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.