summaryrefslogtreecommitdiff
path: root/apps/metadata/metadata_common.h
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.h
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.h')
-rw-r--r--apps/metadata/metadata_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata/metadata_common.h b/apps/metadata/metadata_common.h
index f57690af91..2a48b25dc6 100644
--- a/apps/metadata/metadata_common.h
+++ b/apps/metadata/metadata_common.h
@@ -44,7 +44,7 @@ int read_uint16le(int fd, uint16_t* buf);
44int read_uint32le(int fd, uint32_t* buf); 44int read_uint32le(int fd, uint32_t* buf);
45int read_uint64le(int fd, uint64_t* buf); 45int read_uint64le(int fd, uint64_t* buf);
46#else 46#else
47int read_uint32be(int fd, unsigned int* buf); 47int read_uint32be(int fd, uint32_t* buf);
48#define read_uint16le(fd,buf) read((fd), (buf), 2) 48#define read_uint16le(fd,buf) read((fd), (buf), 2)
49#define read_uint32le(fd,buf) read((fd), (buf), 4) 49#define read_uint32le(fd,buf) read((fd), (buf), 4)
50#define read_uint64le(fd,buf) read((fd), (buf), 8) 50#define read_uint64le(fd,buf) read((fd), (buf), 8)