public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* fix a couple of build problems
@ 2009-01-24 10:53 Bart Veer
  0 siblings, 0 replies; only message in thread
From: Bart Veer @ 2009-01-24 10:53 UTC (permalink / raw)
  To: ecos-patches

This sorts out some dodgy casting which current toolchains find
objectionable.

Bart

Index: picasso/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/picasso/current/ChangeLog,v
retrieving revision 1.3
diff -u -p -r1.3 ChangeLog
--- picasso/current/ChangeLog	21 Sep 2003 12:27:56 -0000	1.3
+++ picasso/current/ChangeLog	24 Jan 2009 10:52:03 -0000
@@ -1,3 +1,7 @@
+2009-01-24  Bart Veer  <bartv@ecoscentric.com>
+
+	* src/vga_support.c: fix build problem with latest toolchains.
+
 2003-09-21  Gary Thomas  <gary@mlbassoc.com>
 
 	* misc/redboot_RAM.ecm: 
Index: picasso/current/src/vga_support.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/picasso/current/src/vga_support.c,v
retrieving revision 1.1
diff -u -p -r1.1 vga_support.c
--- picasso/current/src/vga_support.c	22 Aug 2003 15:19:53 -0000	1.1
+++ picasso/current/src/vga_support.c	24 Jan 2009 10:52:19 -0000
@@ -147,7 +147,8 @@ vga_init(cyg_uint32 *addr)
 {
     volatile struct VGA_ctlr *ctlr;
 
-    vga.ctlr = (struct VGA_ctlr *)ctlr = (struct VGA_ctlr *)addr;
+    ctlr = (volatile struct VGA_ctlr *)addr;
+    vga.ctlr = (void*)ctlr;
     vga.fb = ctlr->fb;
     vga.bpp = VGA_DEPTH;
     vga.height = VGA_HEIGHT;
Index: uE250/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/uE250/current/ChangeLog,v
retrieving revision 1.12
diff -u -p -r1.12 ChangeLog
--- uE250/current/ChangeLog	21 Sep 2003 12:27:56 -0000	1.12
+++ uE250/current/ChangeLog	24 Jan 2009 10:52:35 -0000
@@ -1,3 +1,7 @@
+2009-01-24  Bart Veer  <bartv@ecoscentric.com>
+
+	* src/vga_support.c: fix build problem with latest toolchains.
+
 2003-09-21  Gary Thomas  <gary@mlbassoc.com>
 
 	* misc/redboot_RAM.ecm: 
Index: uE250/current/src/vga_support.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/uE250/current/src/vga_support.c,v
retrieving revision 1.2
diff -u -p -r1.2 vga_support.c
--- uE250/current/src/vga_support.c	26 Feb 2003 00:42:31 -0000	1.2
+++ uE250/current/src/vga_support.c	24 Jan 2009 10:52:49 -0000
@@ -147,7 +147,8 @@ vga_init(cyg_uint32 *addr)
 {
     volatile struct VGA_ctlr *ctlr;
 
-    vga.ctlr = (struct VGA_ctlr *)ctlr = (struct VGA_ctlr *)addr;
+    ctlr = (volatile struct VGA_ctlr *)addr;
+    vga.ctlr = (void*) ctlr;
     vga.fb = ctlr->fb;
     vga.bpp = VGA_DEPTH;
     vga.height = VGA_HEIGHT;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-24 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-24 10:53 fix a couple of build problems Bart Veer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).