From: Niels Provos Date: Thu, 27 Dec 2007 20:08:21 +0000 (+0000) Subject: additional add argument was missing const qualifier X-Git-Tag: release-2.0.1-alpha~442 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=616a64c87cd8c8f0348e2bee1cba5b87b3e760c4;p=libevent additional add argument was missing const qualifier svn:r615 --- diff --git a/event_rpcgen.py b/event_rpcgen.py index 68ed132a..bb6986d5 100755 --- a/event_rpcgen.py +++ b/event_rpcgen.py @@ -338,7 +338,8 @@ class Entry: "refname" : self._refname, "optpointer" : self._optpointer and "*" or "", "optreference" : self._optpointer and "&" or "", - "optaddarg" : self._optaddarg and ", %s value" % self._ctype or "" + "optaddarg" : + self._optaddarg and ", const %s value" % self._ctype or "" } for (k, v) in extradict.items(): mapping[k] = v