]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - maxpath.c
Ensure DB4 backend dbconns memory is initialised to zero
[onak.git] / maxpath.c
index b9ba53a14b036b7b7a32cc0a3edc7b90e55c364c..ccd500839fe00f0a0d5eddb801822af3597f25fa 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;
                                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,
                                                loop,
                                                from->keyid,
                                                to->keyid,
@@ -62,7 +63,7 @@ void findmaxpath(unsigned long max)
                        curkey=curkey->next;
                }
        }
                        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);
                        from->keyid,
                        to->keyid,
                        distance);