You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2014/01/03 21:38:50 UTC

[jira] [Commented] (TS-2476) Do not assume that size_t is unsingned long

    [ https://issues.apache.org/jira/browse/TS-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861884#comment-13861884 ] 

James Peach commented on TS-2476:
---------------------------------

{{%zu}} would be the right format for {{size_t}}.

> Do not assume that size_t is unsingned long
> -------------------------------------------
>
>                 Key: TS-2476
>                 URL: https://issues.apache.org/jira/browse/TS-2476
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, TS API
>            Reporter: Radim Kolar
>         Attachments: patch-sizeof
>
>
> size_t is implementation dependant. Its usually unsigned long on 64 bit arches - 64 bit, but unsigned integer 32 bit on 32 bit arches.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)