Branch: Tag:

2002-12-09

2002-12-09 22:43:27 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

-pedantic warning fixes

Rev: src/modules/Image/layer_oper.h:1.11
Rev: src/modules/Image/layers.c:1.83

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: layer_oper.h,v 1.10 2002/10/11 01:39:42 nilsson Exp $ + || $Id: layer_oper.h,v 1.11 2002/12/09 22:43:27 mirar Exp $   */      /* template for operator layer row function */
36: Inside #if defined(L_MMX_OPER) and #if defined(TRY_USE_MMX)
   if(try_use_mmx)    {    int num=sizeof(rgb_group) * len; -  unsigned char *source=(char *)s; -  unsigned char *dest=(char *)d; -  unsigned char *sourcel=(char *)l; +  unsigned char *source=(unsigned char *)s; +  unsigned char *dest=(unsigned char *)d; +  unsigned char *sourcel=(unsigned char *)l;       while (num-->0 && (7&(int)dest))    {