Re: const improperly cast away
On 18.05.2011 12:42, Daniel Shahaf wrote:
> svn_fs_fs__dag_deserialize(const char *data)
> dag_node_t *node = (dag_node_t *)data;
> (svn_fs_id_t **)&node->fresh_root_predecessor_id);
> Here, the 'fresh_root_predecessor_id' member of '*node' is somewhere
> within *data, and therefore const.
> I guess that one of the APIs here should get the 'const' removed from
> its signature?
Done in r1124255.
Received on 2011-05-18 15:26:15 CEST
This is an archived mail posted to the Subversion Dev