Skip to content

Commit

Permalink
Fix windows build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Sep 14, 2023
1 parent 4c35c25 commit 93fb2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmldoc/mmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ mmdLoadString(mmd_t *root, /* I - Root node for document or `NULL` for a n

char tempfile[1024]; /* Temporary filename */

if (tempnam_s(tempfile, sizeof(tempfile))
if (tempnam_s(tempfile, sizeof(tempfile)))
return (root);

if ((fp = fopen(tempfile, "w+")) == NULL)
Expand Down

0 comments on commit 93fb2da

Please sign in to comment.