--- include/squid_types.h.orig	2009-08-04 21:57:45.000000000 +1000
+++ include/squid_types.h	2009-08-09 11:34:31.000000000 +1000
@@ -86,7 +86,7 @@
 #ifndef PRId64
 #ifdef _SQUID_MSWIN_		/* Windows native port using MSVCRT */
 #define PRId64 "I64d"
-#elif SIZEOF_INT64_T > SIZEOF_LONG
+#elif SIZEOF_INT64_T >= SIZEOF_LONG
 #define PRId64 "lld"
 #else
 #define PRId64 "ld"
@@ -96,7 +96,7 @@
 #ifndef PRIu64
 #ifdef _SQUID_MSWIN_		/* Windows native port using MSVCRT */
 #define PRIu64 "I64u"
-#elif SIZEOF_INT64_T > SIZEOF_LONG
+#elif SIZEOF_INT64_T >= SIZEOF_LONG
 #define PRIu64 "llu"
 #else
 #define PRIu64 "lu"
