summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 80cdb37..b8ad264 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,7 +33,7 @@ void print_usage()
}
static void print_document(cmark_node *document, writer_format writer,
- long options)
+ int options)
{
char *result;
switch (writer) {
@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
size_t bytes;
cmark_node *document;
writer_format writer = FORMAT_HTML;
- long options = CMARK_OPT_DEFAULT;
+ int options = CMARK_OPT_DEFAULT;
#if defined(_WIN32) && !defined(__CYGWIN__)
_setmode(_fileno(stdout), _O_BINARY);