diff --git a/libobs/graphics/matrix4.c b/libobs/graphics/matrix4.c index 12d1ebd8cbaec3360e5d4faad45e414cd28e0225..a1831663805287d4334f39f4d4b9ac9bae71bab1 100644 --- a/libobs/graphics/matrix4.c +++ b/libobs/graphics/matrix4.c @@ -231,7 +231,7 @@ void matrix4_scale_i(struct matrix4 *dst, const struct vec3 *v, bool matrix4_inv(struct matrix4 *dst, const struct matrix4 *m) { - struct vec4 *dstv = (struct vec4 *)dst; + struct vec4 *dstv; float det; float m3x3[9]; int i, j, sign;