Re: attention : passing argument 2 of 'dict_put' discards qualifiersfrom pointer target type
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <001e01c987c4$f161fb80$02b2a8c0@tardis> |
Hi, Not actually. It is the ominous "const Octstr *" -> "Octstr *" issue. A simple type casting in 4 places in gw/meta-data.c should fix it: dict_put(curr->values, key, octstr_duplicate(value)); -> dict_put(curr->values, (Octstr *)key, octstr_duplicate(value)); BR, Nikos ----- Original Message ----- From: "Stipe Tolj" <[email protected]> Cc: <[email protected]> Sent: Thursday, February 05, 2009 7:27 PM Subject: Re: attention : passing argument 2 of 'dict_put' discards qualifiersfrom pointer target type > Alexander Malysh schrieb: >> Hi, >> >> ignore it for now... > > is this our ominous Octstr* unisgned char issue thing? > > Stipe > > -- > ------------------------------------------------------------------- > KΟ†lner Landstrasse 419 > 40589 DΟsseldorf, NRW, Germany > > tolj.org system architecture Kannel Software Foundation (KSF) > http://www.tolj.org/ http://www.kannel.org/ > > mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org > ------------------------------------------------------------------- >