mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 18:06:04 -05:00
fix typecast problem
This commit is contained in:
parent
ca260d4fb9
commit
246655d914
@ -129,7 +129,7 @@ int rend_register(char *name, char *type, int port) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(msg,0x00,sizeof(msg)); /* shut valgrind up */
|
memset((void*)&msg,0x00,sizeof(msg)); /* shut valgrind up */
|
||||||
msg.cmd=REND_MSG_TYPE_REGISTER;
|
msg.cmd=REND_MSG_TYPE_REGISTER;
|
||||||
strcpy(msg.name,name);
|
strcpy(msg.name,name);
|
||||||
strcpy(msg.type,type);
|
strcpy(msg.type,type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user