diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
commit | 50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch) | |
tree | c7881b015b220558167310345b162324c96be15a /apps/recorder/recording.c | |
parent | adb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff) | |
download | rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip |
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index fc527923db..0f1ff30cf5 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -1762,7 +1762,7 @@ bool recording_screen(bool no_source) | |||
1762 | draw attention */ | 1762 | draw attention */ |
1763 | /* Don't use language string unless agreed upon to make this | 1763 | /* Don't use language string unless agreed upon to make this |
1764 | method permanent - could do something in the statusbar */ | 1764 | method permanent - could do something in the statusbar */ |
1765 | snprintf(buf, sizeof(buf), "Warning: %08X", | 1765 | snprintf(buf, sizeof(buf), "Warning: %08lX", |
1766 | pcm_rec_get_warnings()); | 1766 | pcm_rec_get_warnings()); |
1767 | } | 1767 | } |
1768 | else | 1768 | else |
@@ -1771,7 +1771,7 @@ bool recording_screen(bool no_source) | |||
1771 | (global_settings.rec_split_method)) | 1771 | (global_settings.rec_split_method)) |
1772 | { | 1772 | { |
1773 | dmb = dsize/1024/1024; | 1773 | dmb = dsize/1024/1024; |
1774 | snprintf(buf, sizeof(buf), "%s %dMB", | 1774 | snprintf(buf, sizeof(buf), "%s %luMB", |
1775 | str(LANG_SPLIT_SIZE), dmb); | 1775 | str(LANG_SPLIT_SIZE), dmb); |
1776 | } | 1776 | } |
1777 | else | 1777 | else |