fix signess warning

This commit is contained in:
z3APA3A 2016-09-04 15:33:20 +03:00
parent 880255093a
commit 9890823664

View File

@ -318,7 +318,7 @@ static int h_log(int argc, unsigned char ** argv){
conf.logname = (unsigned char *)mystrdup((char *)argv[1]); conf.logname = (unsigned char *)mystrdup((char *)argv[1]);
fp = fopen((char *)dologname (tmpbuf, conf.logname, NULL, conf.logtype, conf.logtime), "a"); fp = fopen((char *)dologname (tmpbuf, conf.logname, NULL, conf.logtype, conf.logtime), "a");
if(!fp){ if(!fp){
perror(tmpbuf); perror((char *)tmpbuf);
return 1; return 1;
} }
else { else {