Make gwbuf_alloc_and_load const correct.

This commit is contained in:
Johan Wikman
2016-09-07 12:31:26 +03:00
parent 58a8bdd4ab
commit 5360918344
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ retblock:
* be allocated.
*/
GWBUF *
gwbuf_alloc_and_load(unsigned int size, void *data)
gwbuf_alloc_and_load(unsigned int size, const void *data)
{
GWBUF *rval;
if ((rval = gwbuf_alloc(size)) != NULL)