summaryrefslogtreecommitdiff
path: root/src/latex.c
diff options
context:
space:
mode:
authorBenedict Cohen <ben@benedictcohen.co.uk>2016-06-01 14:20:40 +0100
committerBenedict Cohen <ben@benedictcohen.co.uk>2016-06-01 14:20:40 +0100
commitae2165147ad1582f716468aab57dadb8aac6dd86 (patch)
tree04da60e409be883ae8fc0fb42b88f42eca395d56 /src/latex.c
parent82ea9598bf55320d1161d8ec672c2ac678e2d0f4 (diff)
- Changed type from int to size_t to fix implicit type conversion warning
Diffstat (limited to 'src/latex.c')
-rw-r--r--src/latex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latex.c b/src/latex.c
index a8c25c5..8a66678 100644
--- a/src/latex.c
+++ b/src/latex.c
@@ -155,7 +155,7 @@ static link_type get_link_type(cmark_node *node) {
size_t title_len, url_len;
cmark_node *link_text;
char *realurl;
- int realurllen;
+ size_t realurllen;
bool isemail = false;
if (node->type != CMARK_NODE_LINK) {