[mono-threads] Assert that we do not try to signal the handle multiple times
[mono.git] / mono / utils / mono-path.c
index 0a443aa41f76c1a977ac108b5e0a4a635651ae6e..f87c9f39bb3ea0764d1493166e5d9598d75a11ee 100644 (file)
@@ -95,7 +95,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;
        }