diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index a04ddc5f20..9112a8affb 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c @@ -317,7 +317,7 @@ ecore_file_mv(const char *src, const char *dst) stat(src, &st); if (S_ISREG(st.st_mode)) { - const char *dir; + char *dir; dir = ecore_file_dir_get(dst); // Since we can't directly rename, try to // copy to temp file in the dst directory