libDtSearch: Resolve 38 -Wformat warnings

This commit is contained in:
Peter Howkins
2012-11-12 16:26:11 +00:00
parent a10520c43c
commit 9040256676
8 changed files with 37 additions and 37 deletions

View File

@@ -261,7 +261,7 @@ static int search_wordtree (WORDTREE *wordtree, UCHAR *wordstring)
/* Descend left or right depending on word */
if (debugging_search_wordtree)
fprintf (aa_stderr, " %c '%s'\n",
(direction < 0) ? 'L' : 'R', node->word);
(direction < 0) ? 'L' : 'R', (char *) node->word);
if (direction < 0)
node = node->llink;
else
@@ -380,8 +380,8 @@ char *teskey_parser (PARG *parg)
endmaxword = outbuf + maxwordsz;
if (debugging_teskey)
fprintf (aa_stderr,
"teskey: start of text block, maxwsz=%ld outbufsz=%ld\n",
maxwordsz, outbufsz);
"teskey: start of text block, maxwsz=%d outbufsz=%lu\n",
maxwordsz, (unsigned long) outbufsz);
readcount = 0L;
}