From 371c87af33810c934034161947c143ccbf6aa01b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Jul 2015 08:28:34 +0000 Subject: various warning & compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirOTR/ekhtml/src/ekhtml.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/MirOTR/ekhtml/src/ekhtml.c') diff --git a/plugins/MirOTR/ekhtml/src/ekhtml.c b/plugins/MirOTR/ekhtml/src/ekhtml.c index 012a543b91..5a6a3f5db2 100644 --- a/plugins/MirOTR/ekhtml/src/ekhtml.c +++ b/plugins/MirOTR/ekhtml/src/ekhtml.c @@ -90,8 +90,7 @@ static void ekhtml_buffer_grow(ekhtml_parser_t *parser){ newsize = parser->nalloced + EKHTML_BLOCKSIZE; if((newbuf = realloc(parser->buf, newsize)) == NULL){ - fprintf(stderr, "BAD! Can't allocate %d bytes in ekhtml_buffer_grow\n", - newsize); + fprintf(stderr, "BAD! Can't allocate %d bytes in ekhtml_buffer_grow\n", (int)newsize); fflush(stderr); /* Just in case someone changes the buffering scheme */ } @@ -279,7 +278,7 @@ ekhtml_parser_startendcb_add(ekhtml_parser_t *parser, const char *tag, } - newtag = strdup(tag); + newtag = _strdup(tag); for(cp=newtag; *cp; cp++) *cp = toupper(*cp); -- cgit v1.2.3