You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2014/05/29 22:05:02 UTC
[jira] [Resolved] (PROTON-429) pn_bytes(size_t size, char *start)
needs a const on the 'start' argument
[ https://issues.apache.org/jira/browse/PROTON-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher resolved PROTON-429.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.8
> pn_bytes(size_t size, char *start) needs a const on the 'start' argument
> ------------------------------------------------------------------------
>
> Key: PROTON-429
> URL: https://issues.apache.org/jira/browse/PROTON-429
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Affects Versions: 0.5
> Reporter: Ted Ross
> Assignee: Andrew Stitcher
> Priority: Minor
> Fix For: 0.8
>
>
> The constructor for a pn_bytes takes a non-const pointer to a character as an argument. This makes pn_bytes unusable for constant literals without casting away the constness.
--
This message was sent by Atlassian JIRA
(v6.2#6252)