|
发表于 2017-6-2 14:00:16
|
显示全部楼层
本帖最后由 32MB.CN 于 2017-6-2 14:10 编辑
- DomainMegaBot.C: In function ‘int whois_query(char*, char*, char**)’:
- DomainMegaBot.C:124:63: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
- *response = realloc(*response , read_size + total_size);
- ^
- DomainMegaBot.C:132:51: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
- *response = realloc(*response , total_size + 1);
- ^
- DomainMegaBot.C: In function ‘char* Str_Conn(const char*, const char*)’:
- DomainMegaBot.C:216:38: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
- char *result = malloc(len1+len2+1);
复制代码
Fixed,已提交pull request |
|