summaryrefslogtreecommitdiff
path: root/beos/beos_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/beos_gui.cpp')
-rw-r--r--beos/beos_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp
index 80bb50eb7..b0f23b61b 100644
--- a/beos/beos_gui.cpp
+++ b/beos/beos_gui.cpp
@@ -1207,7 +1207,7 @@ char *filename_from_path(char *path)
* \return true on success
*/
-bool path_add_part(char *path, int length, char *newpart)
+bool path_add_part(char *path, int length, const char *newpart)
{
if(path[strlen(path) - 1] != '/')
strncat(path, "/", length);