Skip to content

Commit

Permalink
avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Jul 13, 2018
1 parent 555b6ba commit 0dc4d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libkd/kdtree_internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ static void convert_data(kdtree_t* kd, etype* edata, int N, int D, int Nleaf) {

ddata = kd->data.any = MALLOC((size_t)N * (size_t)D * (size_t)sizeof(dtype));
if (!ddata) {
ERROR("Failed to malloc %i x %i x %i\n", N, D, sizeof(dtype));
ERROR("Failed to malloc %i x %i x %i\n", N, D, (int)sizeof(dtype));
return;
}
kd->free_data = TRUE;
Expand Down

0 comments on commit 0dc4d8d

Please sign in to comment.