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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/metadata/metadata_common.c') 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) #ifdef ROCKBOX_LITTLE_ENDIAN /* Read an unsigned 32-bit integer from a big-endian file. */ -int read_uint32be(int fd, unsigned int* buf) +int read_uint32be(int fd, uint32_t* buf) { size_t n; -- cgit v1.2.3