Index: /trunk/psLib/src/sys/psAssert.h
===================================================================
--- /trunk/psLib/src/sys/psAssert.h	(revision 12289)
+++ /trunk/psLib/src/sys/psAssert.h	(revision 12290)
@@ -74,6 +74,6 @@
 if ((int)(NAME) < LOWER || (int)(NAME) > UPPER) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: %s, %d, is out of range.  Must be between %d and %d.", \
-            #NAME,(int)NAME,LOWER,UPPER); \
+            "Error: %s, %ld, is out of range.  Must be between %ld and %ld.", \
+            #NAME,(long)(NAME),(long)(LOWER),(long)(UPPER)); \
     return RVAL; \
 }
@@ -82,5 +82,5 @@
 if (!(VAR1 < VAR2)) { \
     psError(PS_ERR_UNKNOWN, true, \
-            "Error: %s is not less than %s (%d, %d)", #VAR1, #VAR2, VAR1, VAR2); \
+            "Error: %s is not less than %s (%ld, %ld)", #VAR1, #VAR2, (long)(VAR1), (long)(VAR2)); \
     return(RVAL); \
 }
@@ -89,5 +89,5 @@
 if (!(VAR1 <= VAR2)) { \
     psError(PS_ERR_UNKNOWN, true, \
-            "Error: %s is not less than %s (%d, %d)", #VAR1, #VAR2, VAR1, VAR2); \
+            "Error: %s is not less than %s (%ld, %ld)", #VAR1, #VAR2, (long)(VAR1), (long)(VAR2)); \
     return(RVAL); \
 }
@@ -96,6 +96,6 @@
 if (!((NAME1) > (NAME2))) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: !(%s > %s) (%d %d).", \
-            #NAME1, #NAME2, NAME1, NAME2); \
+            "Error: !(%s > %s) (%ld %ld).", \
+            #NAME1, #NAME2,(long)(NAME1), long)(NAME2)); \
     return(RVAL); \
 }
@@ -104,6 +104,6 @@
 if (!((NAME1) >= (NAME2))) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: !(%s >= %s) (%d %d).", \
-            #NAME1, #NAME2, NAME1, NAME2); \
+            "Error: !(%s >= %s) (%ld %ld).", \
+            #NAME1, #NAME2, (long)(NAME1), (long)(NAME2)); \
     return(RVAL); \
 }
@@ -111,6 +111,6 @@
 if (!((NAME1) > (NAME2))) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: !(%s > %s) (%f %f).", \
-            #NAME1, #NAME2, NAME1, NAME2); \
+            "Error: !(%s > %s) (%lf %lf).", \
+            #NAME1, #NAME2, (double)(NAME1), (double)(NAME2)); \
     return(RVAL); \
 }
@@ -119,6 +119,6 @@
 if (!((NAME1) >= (NAME2))) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: !(%s >= %s) (%f %f).", \
-            #NAME1, #NAME2, NAME1, NAME2); \
+            "Error: !(%s >= %s) (%lf %lf).", \
+            #NAME1, #NAME2, (double)(NAME1), (double)(NAME2)); \
     return(RVAL); \
 }
@@ -127,6 +127,6 @@
 if (!((NAME1) < (NAME2))) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: !(%s < %s) (%f %f).", \
-            #NAME1, #NAME2, NAME1, NAME2); \
+            "Error: !(%s < %s) (%lf %lf).", \
+            #NAME1, #NAME2, (double)(NAME1), (double)(NAME2)); \
     return(RVAL); \
 }
@@ -135,6 +135,6 @@
 if (!((NAME1) <= (NAME2))) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: !(%s <= %s) (%f %f).", \
-            #NAME1, #NAME2, NAME1, NAME2); \
+            "Error: !(%s <= %s) (%lf %lf).", \
+            #NAME1, #NAME2, (double)(NAME1), (double)(NAME2)); \
     return(RVAL); \
 }
@@ -160,6 +160,6 @@
 if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: %s, %f, is out of range.  Must be between %f and %f.", \
-            #NAME, NAME, LOWER, UPPER); \
+            "Error: %s, %f, is out of range.  Must be between %lf and %lf.", \
+            #NAME, NAME, (double)(LOWER), (double)(UPPER)); \
     return RVAL; \
 }
@@ -168,6 +168,6 @@
 if (!isfinite(NAME)) { \
     psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
-            "Error: %s=%f is not a real value.\n", \
-            #NAME, NAME); \
+            "Error: %s=%lf is not a real value.\n", \
+            #NAME, (double)(NAME)); \
     return RVAL; \
 }
