From 2885f536b6e314734c0c04245d77b9f7bdc76d42 Mon Sep 17 00:00:00 2001 From: jbj Date: Sat, 2 Dec 2000 21:53:44 +0000 Subject: Bring header reggions mods back to top of stack. CVS patchset: 4305 CVS date: 2000/12/02 21:53:44 --- lib/fprint.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/fprint.c') diff --git a/lib/fprint.c b/lib/fprint.c index 65f705907..866af714b 100644 --- a/lib/fprint.c +++ b/lib/fprint.c @@ -230,13 +230,13 @@ void fpLookupHeader(fingerPrintCache cache, Header h, fingerPrint * fpList) int_32 * dirIndexes; if (!headerGetEntryMinMemory(h, RPMTAG_BASENAMES, NULL, - (void **) &baseNames, &fileCount)) return; - headerGetEntryMinMemory(h, RPMTAG_DIRNAMES, NULL, (void **) &dirNames, - NULL); - headerGetEntry(h, RPMTAG_DIRINDEXES, NULL, (void **) &dirIndexes, NULL); - - fpLookupList(cache, dirNames, baseNames, dirIndexes, fileCount, fpList); + (const void **) &baseNames, &fileCount)) return; + headerGetEntryMinMemory(h, RPMTAG_DIRNAMES, NULL, + (const void **) &dirNames, NULL); + headerGetEntryMinMemory(h, RPMTAG_DIRINDEXES, NULL, + (const void **) &dirIndexes, NULL); + fpLookupList(cache, dirNames, baseNames, dirIndexes, fileCount, fpList); free(dirNames); free(baseNames); } -- cgit v1.2.3