summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-19 22:24:15 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-19 22:24:15 +0000
commit92af557257cfe9153a5dc4a2d95361d06dd35519 (patch)
tree5825bd4b4242211f16f792492d213096d77d743e
parent0f0402929397bc020fa6e8f3fd9b78185cf76318 (diff)
downloadrockbox-92af557257cfe9153a5dc4a2d95361d06dd35519.tar.gz
rockbox-92af557257cfe9153a5dc4a2d95361d06dd35519.tar.bz2
rockbox-92af557257cfe9153a5dc4a2d95361d06dd35519.zip
Tweaked to compile with older gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5609 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/language.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/language.c b/apps/language.c
index 847100e7da..a09f291631 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -51,8 +51,8 @@ int lang_load(const char *filename)
if(filesize != MAX_LANGUAGE_SIZE) {
if((language_buffer[0] == LANGUAGE_COOKIE) &&
(language_buffer[1] == LANGUAGE_VERSION)) {
- lang_init(); /* initialize with builtin */
unsigned char *ptr=&language_buffer[2];
+ lang_init(); /* initialize with builtin */
int id;
filesize-=2;