summaryrefslogtreecommitdiff
path: root/apps/metadata/metadata_common.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-05-15 22:45:03 +0000
committerDave Chapman <dave@dchapman.com>2009-05-15 22:45:03 +0000
commitda3dc455f66959f816d914c078e55d061a6b82d4 (patch)
tree8c2c0bcbfbe99ea26996072f1fad1d8eb4cd7871 /apps/metadata/metadata_common.c
parenta96ce3ba52812a093d6d369322f961c3024ee207 (diff)
downloadrockbox-da3dc455f66959f816d914c078e55d061a6b82d4.tar.gz
rockbox-da3dc455f66959f816d914c078e55d061a6b82d4.zip
Change the type of read_uint32be to uint32_t and ensure all variables passed to that function are also of that type. No functional changes, but makes read_uint32be consistent with the other read_* functions and prevents warning in the upcoming RealAudio metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/metadata_common.c')
-rw-r--r--apps/metadata/metadata_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata/metadata_common.c b/apps/metadata/metadata_common.c
index 09f0f94a88..37768bdd4a 100644
--- a/apps/metadata/metadata_common.c
+++ b/apps/metadata/metadata_common.c
@@ -99,7 +99,7 @@ long read_string(int fd, char* buf, long buf_size, int eos, long size)
99 99
100#ifdef ROCKBOX_LITTLE_ENDIAN 100#ifdef ROCKBOX_LITTLE_ENDIAN
101/* Read an unsigned 32-bit integer from a big-endian file. */ 101/* Read an unsigned 32-bit integer from a big-endian file. */
102int read_uint32be(int fd, unsigned int* buf) 102int read_uint32be(int fd, uint32_t* buf)
103{ 103{
104 size_t n; 104 size_t n;
105 105