Index: trunk/psLib/src/math/psSparse.c
===================================================================
--- trunk/psLib/src/math/psSparse.c	(revision 7766)
+++ trunk/psLib/src/math/psSparse.c	(revision 8627)
@@ -62,5 +62,5 @@
 
     if (i < j) {
-        psLogMsg(__func__, PS_LOG_WARN, "i=%ld, j=%ld refers to a sub-diagonal element; values switched.\n");
+        psLogMsg(__func__, PS_LOG_WARN, "i=%d, j=%d refers to a sub-diagonal element; values switched.\n", i, j);
         int temp = i;
         i = j;
