[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13979] trunk/blender/source/blender/ blenloader/intern:

Chris Burt desoto at exenex.com
Thu Mar 6 15:13:32 CET 2008


Something tells me that since this was fixed already, Brecht is aware
of it and doesn't need to be schooled on such matters. Just an F.Y.I.

--Chris

On Thu, Mar 6, 2008 at 7:36 AM, Joe Eagar <joeedh at gmail.com> wrote:
> Yeah you should never do pointer arithmetic with void*'s, cast them to
>  char*'s instead.
>
>  Joe
>
>
>
>  jmsoler at free.fr wrote:
>  > Selon Brecht Van Lommel <brechtvanlommel at pandora.be>:
>  >
>  >
>  >> Revision: 13979
>  >>
>  >>
>  >
>  >
>  >> +                    memcpy(buffer + totread, chunk->buf+chunkoffset, readsize);
>  >>
>  >
>  > Sorry to bother you with that but MSVC 8.0 does not like this line. It complains
>  > "Error C2036, void *, unknow size".
>  >
>  > jms
>  >
>  > _______________________________________________
>  > Bf-committers mailing list
>  > Bf-committers at blender.org
>  > http://lists.blender.org/mailman/listinfo/bf-committers
>  >
>  >
>
>  _______________________________________________
>  Bf-committers mailing list
>  Bf-committers at blender.org
>  http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list