From da3dc455f66959f816d914c078e55d061a6b82d4 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 15 May 2009 22:45:03 +0000 Subject: 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 --- apps/metadata/metadata_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/metadata/metadata_common.h') 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); int read_uint32le(int fd, uint32_t* buf); int read_uint64le(int fd, uint64_t* buf); #else -int read_uint32be(int fd, unsigned int* buf); +int read_uint32be(int fd, uint32_t* buf); #define read_uint16le(fd,buf) read((fd), (buf), 2) #define read_uint32le(fd,buf) read((fd), (buf), 4) #define read_uint64le(fd,buf) read((fd), (buf), 8) -- cgit v1.2.3