diff options
-rw-r--r-- | gtp/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtp/queue.c b/gtp/queue.c index 02c18ec..c843785 100644 --- a/gtp/queue.c +++ b/gtp/queue.c @@ -32,7 +32,7 @@ int queue_print(struct queue_t *queue) { int n; - printf("Queue: %x Next: %d First: %d Last: %d\n", (int)queue, + printf("Queue: %p Next: %d First: %d Last: %d\n", queue, queue->next, queue->first, queue->last); printf("# State seq next prev timeout retrans\n"); for (n = 0; n < QUEUE_SIZE; n++) { |