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

Joe Eagar joeedh at gmail.com
Thu Mar 6 13:36:07 CET 2008


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
>
>   



More information about the Bf-committers mailing list