Skip to content

Commit f2a13ef

Browse files
c: fix compile error
1 parent af9951a commit f2a13ef

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lang/c/include/vtfppc/ImageConversion.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ inline vtfpp_image_conversion_resize_bounds_t cast(vtfpp::ImageConversion::Resiz
215215
}
216216

217217
inline vtfpp::ImageConversion::ResizeBounds cast(vtfpp_image_conversion_resize_bounds_t value) {
218-
return {
219-
.resizeMinWidth = value.resizeMinWidth,
220-
.resizeMaxWidth = value.resizeMaxWidth,
221-
.resizeMinHeight = value.resizeMinHeight,
222-
.resizeMaxHeight = value.resizeMaxHeight,
218+
return vtfpp::ImageConversion::ResizeBounds{
219+
value.resizeMinWidth,
220+
value.resizeMaxWidth,
221+
value.resizeMinHeight,
222+
value.resizeMaxHeight,
223223
};
224224
}
225225

0 commit comments

Comments
 (0)