Fix warning.

This commit is contained in:
Ben Laurie 2005-06-28 12:41:35 +00:00
parent c0e29e5b01
commit 5b9b62a7db
2 changed files with 3 additions and 1 deletions

View file

@ -110,8 +110,10 @@
#if defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
#define PQ_64BIT BN_ULONG
#define PQ_64BIT_PRINT "%ld"
#elif defined(THIRTY_TWO_BIT)
#define PQ_64BIT BN_ULLONG
#define PQ_64BIT_PRINT "%lld"
#endif
#define PQ_64BIT_CTX void

View file

@ -207,7 +207,7 @@ pqueue_print(pqueue_s *pq)
while(item != NULL)
{
printf("item\t%lld\n", item->priority);
printf("item" PQ_64BIT_PRINT "\n", item->priority);
item = item->next;
}
}