]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - maxpath.c
Ensure DB4 backend dbconns memory is initialised to zero
[onak.git] / maxpath.c
index 4d65588636e5a68fe03e43f4dbd55668e4e00963..ccd500839fe00f0a0d5eddb801822af3597f25fa 100644 (file)
--- a/maxpath.c
+++ b/maxpath.c
@@ -53,7 +53,7 @@ void findmaxpath(unsigned long max)
                                to = tmp;
                                distance = to->colour;
                                printf("Current max path (#%ld) is from %"
                                to = tmp;
                                distance = to->colour;
                                printf("Current max path (#%ld) is from %"
-                                               PRIx64 " to %" PRIx64 
+                                               PRIX64 " to %" PRIX64 
                                                " (%ld steps)\n", 
                                                loop,
                                                from->keyid,
                                                " (%ld steps)\n", 
                                                loop,
                                                from->keyid,
@@ -63,7 +63,7 @@ void findmaxpath(unsigned long max)
                        curkey=curkey->next;
                }
        }
                        curkey=curkey->next;
                }
        }
-       printf("Max path is from %" PRIx64 " to %" PRIx64 " (%ld steps)\n",
+       printf("Max path is from %" PRIX64 " to %" PRIX64 " (%ld steps)\n",
                        from->keyid,
                        to->keyid,
                        distance);
                        from->keyid,
                        to->keyid,
                        distance);