diff options
Diffstat (limited to 'source/blender/render/intern/source/voxeldata.c')
-rw-r--r-- | source/blender/render/intern/source/voxeldata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/voxeldata.c b/source/blender/render/intern/source/voxeldata.c index 0936d5fcef9..24e32817a97 100644 --- a/source/blender/render/intern/source/voxeldata.c +++ b/source/blender/render/intern/source/voxeldata.c @@ -70,7 +70,7 @@ #include "texture.h" #include "voxeldata.h" -static int is_vd_res_ok(VoxelData *vd) +static bool is_vd_res_ok(VoxelData *vd) { /* arbitrary large value so corrupt headers don't break */ const int min = 1, max = 100000; @@ -90,7 +90,7 @@ static int load_frame_blendervoxel(VoxelData *vd, FILE *fp, int frame) const size_t size = vd_resol_size(vd); size_t offset = sizeof(VoxelDataHeader); - if (is_vd_res_ok(vd) == FALSE) + if (is_vd_res_ok(vd) == false) return 0; vd->dataset = MEM_mapallocN(sizeof(float) * size, "voxel dataset"); @@ -112,7 +112,7 @@ static int load_frame_raw8(VoxelData *vd, FILE *fp, int frame) size_t i; char *data_c; - if (is_vd_res_ok(vd) == FALSE) + if (is_vd_res_ok(vd) == false) return 0; vd->dataset = MEM_mapallocN(sizeof(float) * size, "voxel dataset"); |