From f8569c130ccebb7b6cac1edfd9f28aae10c97400 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sun, 7 Jul 2013 08:30:12 +0000 Subject: Fixed warning --- src/htsparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/htsparse.c') diff --git a/src/htsparse.c b/src/htsparse.c index 1661e2b..3320886 100644 --- a/src/htsparse.c +++ b/src/htsparse.c @@ -85,7 +85,7 @@ Please visit our Website: http://www.httrack.com if (ht_buff==NULL) { \ printf("PANIC! : Not enough memory [%d]\n", __LINE__); \ XH_uninit; \ - abortLogFmt("not enough memory for current html document in HT_ADD_CHK : realloct("LLintP") failed" _ ht_size); \ + abortLogFmt("not enough memory for current html document in HT_ADD_CHK : realloct("LLintP") failed" _ (LLint) ht_size); \ abort(); \ } \ } \ @@ -138,7 +138,7 @@ Please visit our Website: http://www.httrack.com if (ht_buff==NULL) { \ printf("PANIC! : Not enough memory [%d]\n",__LINE__); \ XH_uninit; \ - abortLogFmt("not enough memory for current html document in HT_ADD_START : malloct("LLintP") failed" _ ht_size); \ + abortLogFmt("not enough memory for current html document in HT_ADD_START : malloct("LLintP") failed" _ (LLint) ht_size); \ abort(); \ } \ ht_buff[0]='\0'; \ -- cgit v1.2.3