From 08dae4f66e66a2db9e3d5413182000f9153d8740 Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Tue, 26 Apr 2005 21:56:04 +0000 Subject: [PATCH] merf. oops. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6360 a1c6a512-1295-4272-9138-f99709370657 --- apps/database.c | 2 +- apps/dbtree.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/database.c b/apps/database.c index 1258b94c30..0d562d549b 100644 --- a/apps/database.c +++ b/apps/database.c @@ -79,7 +79,7 @@ int tagdb_init(void) #ifdef LITTLE_ENDIAN p=(int *)&tagdbheader; for(i=0;i<17;i++) { - *p=BE32(p); + *p=BE32(*p); p++; } #endif diff --git a/apps/dbtree.c b/apps/dbtree.c index 187cb618c1..61879e32f1 100644 --- a/apps/dbtree.c +++ b/apps/dbtree.c @@ -168,7 +168,7 @@ int db_load(struct tree_context* c) return -1; #ifdef LITTLE_ENDIAN - for (i=0; i