1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

vlp: fix an implicit cast compile warning.

Michael
This commit is contained in:
Michael Adam 2008-04-10 00:44:25 +02:00
parent 51026d64b3
commit bf46f614c4

View File

@ -256,7 +256,8 @@ static int print_command(int argc, char **argv)
/* Add job to end of queue */ /* Add job to end of queue */
queue.dptr = SMB_MALLOC(value.dsize + sizeof(struct vlp_job)); queue.dptr = (unsigned char *)SMB_MALLOC(value.dsize +
sizeof(struct vlp_job));
if (!queue.dptr) return 1; if (!queue.dptr) return 1;
memcpy(queue.dptr, value.dptr, value.dsize); memcpy(queue.dptr, value.dptr, value.dsize);