Skip to content

Commit

Permalink
Fix unix build
Browse files Browse the repository at this point in the history
  • Loading branch information
plzombie committed Jun 29, 2023
1 parent ae48ec6 commit 0076ae6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/depress_outlines.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>

bool depressOutlineLoadFromFile(depress_outline_type **outline, wchar_t *filename)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0076ae6

Please sign in to comment.