summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 5d6ef5f15..5d032f3ef 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -2488,7 +2488,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);