forked from bartvdbraak/blender
Fix strict warnings on Windows
This commit is contained in:
parent
8bae72d04a
commit
ec2fd74f47
2
extern/curve_fit_nd/curve_fit_nd.h
vendored
2
extern/curve_fit_nd/curve_fit_nd.h
vendored
@ -137,7 +137,7 @@ int curve_fit_cubic_to_points_refit_db(
|
||||
const double error_threshold,
|
||||
const unsigned int calc_flag,
|
||||
const unsigned int *corners,
|
||||
unsigned int corners_len,
|
||||
const unsigned int corners_len,
|
||||
const double corner_angle,
|
||||
|
||||
double **r_cubic_array, unsigned int *r_cubic_array_len,
|
||||
|
@ -369,7 +369,9 @@ struct UMArrayData {
|
||||
UndoMesh *um;
|
||||
const UndoMesh *um_ref; /* can be NULL */
|
||||
};
|
||||
static void um_arraystore_compact_cb(TaskPool *UNUSED(pool), void *taskdata, int UNUSED(threadid))
|
||||
static void um_arraystore_compact_cb(TaskPool *__restrict UNUSED(pool),
|
||||
void *taskdata,
|
||||
int UNUSED(threadid))
|
||||
{
|
||||
struct UMArrayData *um_data = taskdata;
|
||||
um_arraystore_compact_with_info(um_data->um, um_data->um_ref);
|
||||
|
@ -169,7 +169,7 @@ void DNA_sdna_free(SDNA *sdna)
|
||||
}
|
||||
|
||||
MEM_freeN((void *)sdna->names);
|
||||
MEM_freeN(sdna->types);
|
||||
MEM_freeN((void *)sdna->types);
|
||||
MEM_freeN(sdna->structs);
|
||||
|
||||
#ifdef WITH_DNA_GHASH
|
||||
|
Loading…
Reference in New Issue
Block a user