mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
libDtSearch: Resolve format warnings
This commit is contained in:
parent
7d2b9dd56e
commit
c98e82a401
4 changed files with 6 additions and 6 deletions
|
@ -220,9 +220,9 @@ static int read_recno (long recno)
|
|||
BAD_DBA:
|
||||
if (debugging_boolsrch) {
|
||||
fprintf (aa_stderr,
|
||||
PROGNAME"434 Invalid dba %ld. "
|
||||
"%s434 Invalid dba %ld. "
|
||||
"recno=%ld bitvec[%ld]=%02x db_status=%d.\n",
|
||||
objrecdba, recno, recno>>3, 1<<(recno%8), db_status);
|
||||
PROGNAME, (long) objrecdba, recno, recno>>3, 1<<(recno%8), db_status);
|
||||
fflush (aa_stderr);
|
||||
}
|
||||
return FALSE;
|
||||
|
|
|
@ -153,8 +153,8 @@ long hilite_cleartext (int parse_type, char *stems, int stemcount)
|
|||
hitwords_size += hitwords_size >> 1; /* 1.5 times */
|
||||
if (debugging_hilite || (usrblk.debug & USRDBG_RETRVL))
|
||||
fprintf (aa_stderr,
|
||||
PROGNAME"098 realloc for %d hitwords.\n",
|
||||
hitwords_size);
|
||||
PROGNAME"098 realloc for %ld hitwords.\n",
|
||||
(long) hitwords_size);
|
||||
hitwords = realloc (hitwords,
|
||||
hitwords_size * sizeof(DtSrHitword) + 16);
|
||||
}
|
||||
|
|
|
@ -444,7 +444,7 @@ NOTHING_TO_DO:
|
|||
CRSET (PROGNAME "178", &dba, vistano);
|
||||
CRREAD (PROGNAME "179", OR_OBJKEY, charbuf, vistano);
|
||||
fprintf (aa_stderr, " #%d\tdba=%ld:%ld key='%s'\n",
|
||||
i, dba>>24, dba & 0xffffff, charbuf);
|
||||
i, (long) dba>>24, (long) dba & 0xffffff, charbuf);
|
||||
}
|
||||
}
|
||||
/* Sort the array of database addresses.
|
||||
|
|
|
@ -1090,7 +1090,7 @@ void load_ditto_str (void)
|
|||
if (debugging)
|
||||
fprintf (aa_stderr,
|
||||
" --> dba=%ld normwt=%.4lf prox=%d key='%s'\n",
|
||||
dba1, sum3, cur_ditto_mem->proximity,
|
||||
(long) dba1, sum3, cur_ditto_mem->proximity,
|
||||
cur_ditto_mem->reckey);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue