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

Andrew Stitcher commented on PROTON-429:
----------------------------------------

See https://reviews.apache.org/r/21929/ for a possible fix.


> 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