Index: /trunk/psLib/src/xml/psXML.c
===================================================================
--- /trunk/psLib/src/xml/psXML.c	(revision 5002)
+++ /trunk/psLib/src/xml/psXML.c	(revision 5003)
@@ -10,6 +10,6 @@
 *  @author David Robbins, MHPCC
 *
-*  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-09-12 21:36:54 $
+*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-12 22:25:27 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -143,5 +143,5 @@
                 return NULL;
             }
-            snprintf(content, MAXSTR, "%ld, ", ((psTime*)(item->data.V))->sec);
+            snprintf(content, MAXSTR, "%ld, ", (long)((psTime*)(item->data.V))->sec);
             strncpy(timeVal, content, MAXSTR);
             snprintf(content, MAXSTR, "%u, ", ((psTime*)(item->data.V))->nsec);
