[msvc] Update csproj files (#4846)
[mono.git] / mono / utils / mono-path.c
index 0a443aa41f76c1a977ac108b5e0a4a635651ae6e..e93eb7e53f0192a0249eae1d06a0ce1cf39a03fa 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * mono-path.c: Routines for handling path names.
+/**
+ * \file
+ * Routines for handling path names.
  * 
  * Authors:
  *     Gonzalo Paniagua Javier (gonzalo@novell.com)
@@ -95,7 +96,7 @@ mono_path_canonicalize (const char *path)
         * result */
        if (strchr (abspath, G_DIR_SEPARATOR) == NULL) {
                int len = strlen (abspath);
-               abspath = g_realloc (abspath, len + 2);
+               abspath = (gchar *) g_realloc (abspath, len + 2);
                abspath [len] = G_DIR_SEPARATOR;
                abspath [len+1] = 0;
        }