projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3547 from cmp-/remove-obsolete-stack-checks-win32
[mono.git]
/
mono
/
utils
/
mono-path.c
diff --git
a/mono/utils/mono-path.c
b/mono/utils/mono-path.c
index 0a443aa41f76c1a977ac108b5e0a4a635651ae6e..f87c9f39bb3ea0764d1493166e5d9598d75a11ee 100644
(file)
--- a/
mono/utils/mono-path.c
+++ b/
mono/utils/mono-path.c
@@
-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;
}