Return-Path: X-Original-To: apmail-qpid-proton-archive@minotaur.apache.org Delivered-To: apmail-qpid-proton-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 146A41013A for ; Thu, 26 Sep 2013 20:12:10 +0000 (UTC) Received: (qmail 36165 invoked by uid 500); 26 Sep 2013 20:12:08 -0000 Delivered-To: apmail-qpid-proton-archive@qpid.apache.org Received: (qmail 35609 invoked by uid 500); 26 Sep 2013 20:12:03 -0000 Mailing-List: contact proton-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: proton@qpid.apache.org Delivered-To: mailing list proton@qpid.apache.org Received: (qmail 35423 invoked by uid 99); 26 Sep 2013 20:12:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 20:12:02 +0000 Date: Thu, 26 Sep 2013 20:12:02 +0000 (UTC) From: "Ted Ross (JIRA)" To: proton@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PROTON-429) pn_bytes(size_t size, char *start) needs a const on the 'start' argument MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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