git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93782
13f79535-47bb-0310-9956-
ffa450edef68
if (!obj->info.content_type) {
return APR_ENOMEM;
}
- strcpy((char*) obj->info.content_type, info->content_type);
+ strcpy(obj->info.content_type, info->content_type);
}
if ( info->filename) {
obj->info.filename = (char*) calloc(1, strlen(info->filename) + 1);
if (!obj->info.filename ) {
return APR_ENOMEM;
}
- strcpy((char*) obj->info.filename, info->filename );
+ strcpy(obj->info.filename, info->filename );
}
return APR_SUCCESS;