diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-19 10:22:46 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-19 10:22:46 +0000 |
commit | 9b591839531b77948b19191a50f816a6806e20e5 (patch) | |
tree | 06a08ff0926403f2e507e51f3ce708d4df7b81b1 /apps/menus/main_menu.c | |
parent | 24b85ff1e3481abaa2271b26a64131c52fd36322 (diff) |
Use size_t type for the buffer_size parameter to formatter functions, static two private functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14392 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r-- | apps/menus/main_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index f01e8dc23a..1ae5774d15 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c @@ -358,7 +358,7 @@ MENUITEM_FUNCTION(show_info_item, 0, ID2P(LANG_ROCKBOX_INFO), /* sleep Menu */ -static void sleep_timer_formatter(char* buffer, int buffer_size, int value, +static void sleep_timer_formatter(char* buffer, size_t buffer_size, int value, const char* unit) { int minutes, hours; |