diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-23 08:28:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-23 08:28:34 +0000 |
commit | 371c87af33810c934034161947c143ccbf6aa01b (patch) | |
tree | 59e6cca98e1019ab519306bf9cd6ab75624be908 /plugins/MirOTR/ekhtml/src/ekhtml.c | |
parent | 0c47fa983161b4db0b7bd4105cebae0ddae707c8 (diff) |
various warning & compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/ekhtml/src/ekhtml.c')
-rw-r--r-- | plugins/MirOTR/ekhtml/src/ekhtml.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); |