Fix warning.
This commit is contained in:
@@ -110,8 +110,10 @@
|
|||||||
|
|
||||||
#if defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
|
#if defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
|
||||||
#define PQ_64BIT BN_ULONG
|
#define PQ_64BIT BN_ULONG
|
||||||
|
#define PQ_64BIT_PRINT "%ld"
|
||||||
#elif defined(THIRTY_TWO_BIT)
|
#elif defined(THIRTY_TWO_BIT)
|
||||||
#define PQ_64BIT BN_ULLONG
|
#define PQ_64BIT BN_ULLONG
|
||||||
|
#define PQ_64BIT_PRINT "%lld"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PQ_64BIT_CTX void
|
#define PQ_64BIT_CTX void
|
||||||
|
@@ -207,7 +207,7 @@ pqueue_print(pqueue_s *pq)
|
|||||||
|
|
||||||
while(item != NULL)
|
while(item != NULL)
|
||||||
{
|
{
|
||||||
printf("item\t%lld\n", item->priority);
|
printf("item" PQ_64BIT_PRINT "\n", item->priority);
|
||||||
item = item->next;
|
item = item->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user