mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
remove compile warning
This commit is contained in:
parent
91d84baf01
commit
b3609ea014
@ -131,7 +131,7 @@ item_t list_item(int type)
|
||||
list_t split(const char* str, const char* delim)
|
||||
{
|
||||
if(str == NULL || delim == NULL) return NULL;
|
||||
char* str_cpy = str;
|
||||
char* str_cpy = (char*)str;
|
||||
char* token;
|
||||
list_t l = list_init();
|
||||
while((token = strsep(&str_cpy,delim)))
|
||||
|
Loading…
Reference in New Issue
Block a user