[PATCH] Fix "warning: cast to pointer from integer of different size"
Tomas Carnecky
tom at dbservice.com
Wed Feb 4 14:36:46 PST 2009
On 02/04/2009 10:57 PM, Ian Romanick wrote:
> On Wed, Feb 04, 2009 at 12:02:24AM +0100, Tomas Carnecky wrote:
>> Add parenthesis around the whole expression.
>>
>> Signed-off-by: Tomas Carnecky<tom at dbservice.com>
>> ---
>> glx/indirect_dispatch.c | 2 +-
>> glx/indirect_dispatch_swap.c | 2 +-
>> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> NAK. These source files are program generated. Didn't you see the
> big comment at the top of the file?
>
> /* DO NOT EDIT - This file generated automatically by glX_proto_recv.py (from Mesa) script */
>
> Make the correction to the generator script. Otherwise, the changes
> will be lost the next time the generator script is run.
Oops. I saw that header in glapitemp.h, but not in these file. Patch to
the script is attached.
tom
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-cast-to-pointer-from-integer-of-different-size.patch
URL: <http://lists.x.org/archives/xorg/attachments/20090204/62b3a850/attachment.ksh>
More information about the xorg
mailing list