qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Ross (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-429) pn_bytes(size_t size, char *start) needs a const on the 'start' argument
Date Thu, 26 Sep 2013 20:12:02 GMT
Ted Ross created PROTON-429:
-------------------------------

             Summary: 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
            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message