nsurl_access must return const.
svn path=/trunk/netsurf/; revision=12863
This commit is contained in:
parent
828b5b44c7
commit
2837f05094
|
@ -1182,7 +1182,7 @@ nserror nsurl_get(const nsurl *url, nsurl_component parts,
|
|||
|
||||
|
||||
/* exported interface, documented in nsurl.h */
|
||||
char *nsurl_access(const nsurl *url, size_t *url_l)
|
||||
const char *nsurl_access(const nsurl *url, size_t *url_l)
|
||||
{
|
||||
assert(url != NULL);
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ nserror nsurl_get(const nsurl *url, nsurl_component parts,
|
|||
*
|
||||
* The length returned in url_l excludes the trailing '\0'.
|
||||
*/
|
||||
char *nsurl_access(const nsurl *url, size_t *url_l);
|
||||
const char *nsurl_access(const nsurl *url, size_t *url_l);
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue