mdns: use const char* for mdns txt items types to remove warning when assigning
This commit is contained in:
parent
a851aac255
commit
c050a75616
|
@ -44,8 +44,8 @@ typedef enum {
|
|||
* Used in mdns_service_add()
|
||||
*/
|
||||
typedef struct {
|
||||
char * key; /*!< item key name */
|
||||
char * value; /*!< item value string */
|
||||
const char * key; /*!< item key name */
|
||||
const char * value; /*!< item value string */
|
||||
} mdns_txt_item_t;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue