mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
vlp: fix an implicit cast compile warning.
Michael
This commit is contained in:
parent
51026d64b3
commit
bf46f614c4
@ -256,7 +256,8 @@ static int print_command(int argc, char **argv)
|
||||
|
||||
/* 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;
|
||||
|
||||
memcpy(queue.dptr, value.dptr, value.dsize);
|
||||
|
Loading…
Reference in New Issue
Block a user