]> granicus.if.org Git - apache/commitdiff
Deconstify...
authorBill Stoddard <stoddard@apache.org>
Thu, 7 Mar 2002 22:48:37 +0000 (22:48 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 7 Mar 2002 22:48:37 +0000 (22:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93782 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index 1934ba408d0f0172bf44179c6d80625418271029..6d516180137489d6ea7910ad7f1df4499a2ac7ae 100644 (file)
@@ -626,14 +626,14 @@ static apr_status_t write_headers(cache_handle_t *h, request_rec *r, cache_info
         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;