[Bf-committers] [28485] trunk/blender/intern/guardedalloc/ intern/mallocn.c: reverting 28469, there is no use in using a long, while the allocation functions only accepts an int.

GSR gsr.b3d at infernal-iceberg.com
Thu Apr 29 19:32:58 CEST 2010


Hi,
ideasman42 at gmail.com (2010-04-28 at 1015.26 +0200):
> Revision: 28485
>           http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28485
> Author:   campbellbarton
> Date:     2010-04-28 10:15:26 +0200 (Wed, 28 Apr 2010)
> 
> Log Message:
> -----------
> reverting 28469, there is no use in using a long, while the allocation functions only accepts an int.
> - only wastes 4 bytes per alloc.
> Also would be most correct to use size_t

Oh, I thought you were just solving a problem with the struct, not
that mallocn.c still is 64 bit uncompatible.

GSR
 


More information about the Bf-committers mailing list