On Wed, 25 May 2011, Enlightenment SVN wrote:

> Log:
> evas_generic_loader: warn--
>
> Author:       yoz
> Date:         2011-05-25 12:13:15 -0700 (Wed, 25 May 2011)
> New Revision: 59676
> Trac:         http://trac.enlightenment.org/e/changeset/59676
>
> Modified:
>  trunk/evas_generic_loaders/src/bin/ps/main.c
>
> Modified: trunk/evas_generic_loaders/src/bin/ps/main.c
> ===================================================================
> --- trunk/evas_generic_loaders/src/bin/ps/main.c      2011-05-25 19:08:38 UTC 
> (rev 59675)
> +++ trunk/evas_generic_loaders/src/bin/ps/main.c      2011-05-25 19:13:15 UTC 
> (rev 59676)
> @@ -167,7 +167,7 @@
>    SpectreRenderContext *rc;
>    unsigned char        *psdata;
>    int                   stride;
> -   unsigned char        *src;
> +   DATA32        *src;
>    DATA32               *dst;
>    int                   yy;
>    SpectreStatus         status;
> @@ -196,7 +196,7 @@
>         src = (DATA32 *)psdata;
>         dst = (DATA32 *)data;
>         for (yy = 0; yy < height; src += stride, dst += width, ++yy)

no ! you have broken src += stride. revert it, or make sure that src+= 
stride is working with DATA32.

Which warning have you tried to fix ?

Vincent

> -          _pixcopy (dst, src, width * 4);
> +          _pixcopy (dst, (unsigned char *)src, width * 4);
>      }
>
>    spectre_render_context_free(rc);
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to