Hi,

Here is another patch to eliminate the same kind of warning.

Haohui

==

Index: l4ka/user/include/l4/message.h
===================================================================
--- l4ka/user/include/l4/message.h      (revision 1917)
+++ l4ka/user/include/l4/message.h      (working copy)
@@ -1000,7 +1000,7 @@
            t = s;
            n = s->X.j + 2;
            s = (const L4_StringItem_t *) &s->X.str.substring_ptr[n-1];
-           L4_LoadBRs (i, n, (L4_Word_t *) t);
+           L4_LoadBRs (i, n, (const L4_Word_t *) t);
            i += n;
        } while (t->X.c);
     } while (prev->X.C);


On Tue, Apr 13, 2010 at 2:20 AM, Jan Stoess <sto...@kit.edu> wrote:

> Thanks. Will be sent upstream asap.
>
>
>
> -Jan
>
>
>
> --
>
> Jan Stoess
>
> KIT/UKa System Architecture Group
>
> Phone: +49 (721) 608-4056
>
> Fax: +49 (721) 608-7664
>
> http://os.ibds.kit.edu/stoess
>
>
>
> *From:* l4ka-boun...@ira.uni-karlsruhe.de [mailto:
> l4ka-boun...@ira.uni-karlsruhe.de] *On Behalf Of *Mai, Haohui
> *Sent:* Friday, April 09, 2010 4:09 AM
>
> *To:* l...@ira.uni-karlsruhe.de
> *Subject:* A patch to eliminate warnings on casts
>
>
>
> Hi,
>
>
>
> Here is a patch to eliminate some warnings on const casts. Thanks.
>
>
>
> Cheers,
>
> Haohui
>

Reply via email to