X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;ds=sidebyside;f=maxpath.c;h=4d65588636e5a68fe03e43f4dbd55668e4e00963;hb=1921fa44cfae203ae40e853ee9ecedb206fa9413;hp=b9ba53a14b036b7b7a32cc0a3edc7b90e55c364c;hpb=78808f320d39f8c22622feb613706325222cfd59;p=onak.git diff --git a/maxpath.c b/maxpath.c index b9ba53a..4d65588 100644 --- a/maxpath.c +++ b/maxpath.c @@ -52,8 +52,9 @@ void findmaxpath(unsigned long max) from = (struct stats_key *)curkey->object; to = tmp; distance = to->colour; - printf("Current max path (#%ld) is from %llX" - " to %llX (%ld steps)\n", + printf("Current max path (#%ld) is from %" + PRIx64 " to %" PRIx64 + " (%ld steps)\n", loop, from->keyid, to->keyid, @@ -62,7 +63,7 @@ void findmaxpath(unsigned long max) curkey=curkey->next; } } - printf("Max path is from %llX to %llX (%ld steps)\n", + printf("Max path is from %" PRIx64 " to %" PRIx64 " (%ld steps)\n", from->keyid, to->keyid, distance);