Mercurial > ecos
changeset 2054:077661071a3a
* tests/test2.c (task1): Cast to fix compiler warning.
| author | asl |
|---|---|
| date | Wed, 03 Aug 2005 21:02:31 +0000 |
| parents | 02a3678d7618 |
| children | fc88957d075c |
| files | packages/compat/uitron/current/ChangeLog packages/compat/uitron/current/tests/test2.c |
| diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/compat/uitron/current/ChangeLog +++ b/packages/compat/uitron/current/ChangeLog @@ -1,3 +1,7 @@ +2005-08-02 Andrew Lunn <andrew.lunn@ascom.ch> + + * tests/test2.c (task1): Cast to fix compiler warning. + 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> * cdl/uitron.cdl: Update doc link.
--- a/packages/compat/uitron/current/tests/test2.c +++ b/packages/compat/uitron/current/tests/test2.c @@ -143,7 +143,7 @@ void task1( unsigned int arg ) T_RMPL mpl_info; UINT flagptn; static char foo[] = "Test message"; - T_MSG *msgptr = foo; + T_MSG *msgptr = (T_MSG *)foo; T_MSG *rxptr = NULL; VP blfptr = (VP)foo; VP blkptr = (VP)foo;
