Re: A patch to eliminate warnings on casts
"Mai, Haohui" <[email protected]> Sun, 25 Apr 2010 22:16:54 -0500
| Newsgroups | gmane.comp.micro-kernel.l4.l4ka.general |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Mai, Haohui
> *Sent:* Friday, April 09, 2010 4:09 AM
>
> *To:* [email protected]
> *Subject:* A patch to eliminate warnings on casts
>
>
>
> Hi,
>
>
>
> Here is a patch to eliminate some warnings on const casts. Thanks.
>
>
>
> Cheers,
>
> Haohui
>