diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-16 12:06:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-16 12:06:51 -0800 |
commit | 2bcca4c2118733f14a91eaf585e8ff97e216b6bd (patch) | |
tree | 5302f78894bcf100e7e8172c0289bb30ea3e5f0d /src/main.c | |
parent | 5de2e4e9d39fd918d041169e2759d4f4b57a0cc6 (diff) |
Made 'options' an int rather than a long.
For consistency with the API.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |