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

ASF subversion and git services commented on PROTON-429:
--------------------------------------------------------

Commit 1598389 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1598389 ]

PROTON-429: Separated out read-only byte ranges from writable byte ranges

> 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
>
> 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)

Reply via email to