RE: A patch to eliminate warnings on casts

Jan Stoess <[email protected]> Tue, 1 Jun 2010 14:21:24 +0200
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Thanks. Fixed.

-Jan

--
Dr. 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: Monday, April 26, 2010 05:17
Cc: [email protected]
Subject: Re: A patch to eliminate warnings on casts

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]<mailto:[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]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Mai, Haohui
Sent: Friday, April 09, 2010 4:09 AM

To: [email protected]<mailto:[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