Fix warning.
This commit is contained in:
parent
c0e29e5b01
commit
5b9b62a7db
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue