summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2016-06-06 11:50:13 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-06 15:39:06 -0700
commitd4cb8e767ce224d31501c19fb11a220824df9bf8 (patch)
tree8eb23c4bfd277c41bcc9de0360a3e38439a52d18 /src/parser.h
parentf4264ac96e88ec32cd0d63641207bddcfd6f8ce1 (diff)
msvc: Fix warnings and errors
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser.h b/src/parser.h
index 1309420..0c5033b 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -13,7 +13,7 @@ extern "C" {
#define MAX_LINK_LABEL_LENGTH 1000
struct cmark_parser {
- struct cmark_mem *mem;
+ struct cmark_mem *mem;
struct cmark_reference_map *refmap;
struct cmark_node *root;
struct cmark_node *current;
@@ -25,9 +25,9 @@ struct cmark_parser {
int indent;
bool blank;
bool partially_consumed_tab;
- cmark_strbuf *curline;
+ cmark_strbuf curline;
bufsize_t last_line_length;
- cmark_strbuf *linebuf;
+ cmark_strbuf linebuf;
int options;
bool last_buffer_ended_with_cr;
};