From eb66b559e1566ffaf9ee7af6d19f7ea9b55fd2e5 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Wed, 16 Jul 2008 06:10:26 +0000 Subject: [PATCH] Tiny bit of const policing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18065 a1c6a512-1295-4272-9138-f99709370657 --- apps/bookmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/bookmark.c b/apps/bookmark.c index 5bb87ac25e..0c3da641cb 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c @@ -93,7 +93,7 @@ static char* get_bookmark_info(int list_index, size_t buffer_len); static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resume); static bool system_check(void); -static bool write_bookmark(bool create_bookmark_file, char *bookmark); +static bool write_bookmark(bool create_bookmark_file, const char *bookmark); static int get_bookmark_count(const char* bookmark_file_name); static char global_temp_buffer[MAX_PATH+1]; @@ -216,7 +216,7 @@ bool bookmark_autobookmark(void) /* resume_index*resume_offset*resume_seed*resume_first_index* */ /* resume_file*milliseconds*MP3 Title* */ /* ------------------------------------------------------------------------*/ -static bool write_bookmark(bool create_bookmark_file, char *bookmark) +static bool write_bookmark(bool create_bookmark_file, const char *bookmark) { bool success=false; if (!bookmark)