diff options
author | Vicent Marti <tanoku@gmail.com> | 2016-06-06 11:50:13 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-06-06 15:39:06 -0700 |
commit | d4cb8e767ce224d31501c19fb11a220824df9bf8 (patch) | |
tree | 8eb23c4bfd277c41bcc9de0360a3e38439a52d18 /src/references.c | |
parent | f4264ac96e88ec32cd0d63641207bddcfd6f8ce1 (diff) |
msvc: Fix warnings and errors
Diffstat (limited to 'src/references.c')
-rwxr-xr-x | src/references.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/references.c b/src/references.c index 235e0af..6d31142 100755 --- a/src/references.c +++ b/src/references.c @@ -139,7 +139,7 @@ void cmark_reference_map_free(cmark_reference_map *map) { } cmark_reference_map *cmark_reference_map_new(cmark_mem *mem) { - cmark_reference_map *map = mem->calloc(1, sizeof(cmark_reference_map)); + cmark_reference_map *map = (cmark_reference_map *)mem->calloc(1, sizeof(cmark_reference_map)); map->mem = mem; return map; } |