]> the.earth.li Git - onak.git/blobdiff - maxpath.c
Change to using PRIx64 rather than llX for outputting keyids.
[onak.git] / maxpath.c
index b9ba53a14b036b7b7a32cc0a3edc7b90e55c364c..4d65588636e5a68fe03e43f4dbd55668e4e00963 100644 (file)
--- 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);