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