changeset 2033:b2e76f0a78c3

* src/syntheth.c (synth_eth_init): Cast to keep the compiler happy.
author asl
date Sat, 30 Jul 2005 11:50:06 +0000
parents 6e90cb04b855
children 08b7ab87daa5
files packages/devs/eth/synth/ecosynth/current/ChangeLog packages/devs/eth/synth/ecosynth/current/src/syntheth.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/eth/synth/ecosynth/current/ChangeLog
+++ b/packages/devs/eth/synth/ecosynth/current/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-22  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* src/syntheth.c (synth_eth_init): Cast to keep the compiler
+	happy.
+
 2003-07-16  Gary Thomas  <gary@mlbassoc.com>
 
 	* host/rawether.c: Change error reporting to use standard 'strerror()' 
--- a/packages/devs/eth/synth/ecosynth/current/src/syntheth.c
+++ b/packages/devs/eth/synth/ecosynth/current/src/syntheth.c
@@ -436,7 +436,7 @@ synth_eth_init(struct cyg_netdevtab_entr
             unsigned char data[7];
             result = true;
             synth_auxiliary_xchgmsg(eth->synth_id, SYNTH_ETH_GETPARAMS, 0, 0, (const unsigned char*) 0, 0,
-                                    &(eth->interrupt), data, 0, 7);
+                                    (int *)&(eth->interrupt), data, 0, 7);
             memcpy(eth->MAC, data, 6);
             eth->multi_supported = data[6];
             cyg_drv_interrupt_create(eth->interrupt,