You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2010/08/04 07:37:10 UTC

svn commit: r982124 - /apr/apr/trunk/file_io/win32/filestat.c

Author: fuankg
Date: Wed Aug  4 05:37:09 2010
New Revision: 982124

URL: http://svn.apache.org/viewvc?rev=982124&view=rev
Log:
Fixed a type mismatch compiler warning.

Modified:
    apr/apr/trunk/file_io/win32/filestat.c

Modified: apr/apr/trunk/file_io/win32/filestat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/filestat.c?rev=982124&r1=982123&r2=982124&view=diff
==============================================================================
--- apr/apr/trunk/file_io/win32/filestat.c (original)
+++ apr/apr/trunk/file_io/win32/filestat.c Wed Aug  4 05:37:09 2010
@@ -565,7 +565,7 @@ APR_DECLARE(apr_status_t) apr_stat(apr_f
 #if APR_HAS_ANSI_FS
     ELSE_WIN_OS_IS_ANSI
     {
-        char *root = NULL;
+        const char *root = NULL;
         const char *test = fname;
         rv = apr_filepath_root(&root, &test, APR_FILEPATH_NATIVE, pool);
         isroot = (root && *root && !(*test));