diff options
author | Ken Hughes <khughes@pacific.edu> | 2010-03-11 21:27:45 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2010-03-11 21:27:45 +0300 |
commit | 14b1c412e0fb02cfd21e12308ff9667459fa031a (patch) | |
tree | d57465b62d52cb326a3941743e442aae92ded8cd /source/blender/blenkernel/intern/BME_Customdata.c | |
parent | 0270d34272aac6ac48e754abe682ea1eac3cdcd8 (diff) |
BMesh branch
------------
Fix some gcc warnings and errors (under linux anyway).
Diffstat (limited to 'source/blender/blenkernel/intern/BME_Customdata.c')
-rw-r--r-- | source/blender/blenkernel/intern/BME_Customdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/BME_Customdata.c b/source/blender/blenkernel/intern/BME_Customdata.c index fa6d19f7751..9caffd162f3 100644 --- a/source/blender/blenkernel/intern/BME_Customdata.c +++ b/source/blender/blenkernel/intern/BME_Customdata.c @@ -83,7 +83,7 @@ void BME_CD_Create(BME_CustomData *data, BME_CustomDataInit *init, int initalloc /*alloc our layers*/ if(data->totlayer){ /*alloc memory*/ - data->layers = MEM_callocN(sizeof(BME_CustomDataLayer)*data->totlayer, "BMesh Custom Data Layers", 1); + data->layers = MEM_callocN(sizeof(BME_CustomDataLayer)*data->totlayer, "BMesh Custom Data Layers"); data->pool = BLI_mempool_create(data->totsize, initalloc, initalloc, 1); /*initialize layer data*/ for(i=0; i < BME_CD_NUMTYPES; i++){ |