diff --git a/src/depress_outlines.c b/src/depress_outlines.c index 3a69464..0918875 100644 --- a/src/depress_outlines.c +++ b/src/depress_outlines.c @@ -35,6 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include +#include #include bool depressOutlineLoadFromFile(depress_outline_type **outline, wchar_t *filename) @@ -142,7 +143,7 @@ bool depressOutlineAdd(depress_outline_type **outline_source, depress_outline_ty if(!_suboutlines) return false; _suboutlines[nof_suboutlines-1] = outline_add; - (*outline_source)->nof_suboutlines = nof_suboutlines; + (*outline_source)->nof_suboutlines = (void **)nof_suboutlines; (*outline_source)->suboutlines = _suboutlines; return true;