Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 42787)
+++ trunk/psLib/src/db/psDB.c	(revision 42789)
@@ -1039,5 +1039,5 @@
     fieldCount = mysql_num_fields(result);
 
-    psTrace("psLib.db", PS_LOG_INFO, "query returned %llu rows with %d fields",             rowCount, fieldCount);
+    psTrace("psLib.db", PS_LOG_INFO, "query returned %lu rows with %d fields", (long unsigned int) rowCount, fieldCount);
 
     while ((row = mysql_fetch_row(result))) {
