Index: /trunk/psLib/src/astronomy/psMetadata.c
===================================================================
--- /trunk/psLib/src/astronomy/psMetadata.c	(revision 2003)
+++ /trunk/psLib/src/astronomy/psMetadata.c	(revision 2004)
@@ -12,6 +12,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-06 23:27:27 $
+*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:41 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -159,5 +159,5 @@
         break;
     case PS_META_S32:
-        metadataItem->data.S32 = va_arg(argPtr, psS32);
+        metadataItem->data.S32 = (psS32)va_arg(argPtr, psF64);
         break;
     case PS_META_F32:
Index: /trunk/psLib/src/astronomy/psMetadataIO.c
===================================================================
--- /trunk/psLib/src/astronomy/psMetadataIO.c	(revision 2003)
+++ /trunk/psLib/src/astronomy/psMetadataIO.c	(revision 2004)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-07 02:16:36 $
+*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:59 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -462,5 +462,5 @@
     int lineCount = 0;
     int failedLines = 0;
-    psF64 tempValue = 0.0;
+    psF64 tempDbl = 0.0;
     psMetadataItem *metadataItem = NULL;
     psVector *tempVec = NULL;
@@ -508,5 +508,5 @@
             } else if(repeatedChars(linePtr, '*') > 1) {
                 failedLines++;
-                psError(__func__, "More than one @ charecter not allowed. Line %d: %s", lineCount, line);
+                psError(__func__, "More than one * charecter not allowed. Line %d: %s", lineCount, line);
                 continue;
             } else if(repeatedChars(linePtr, '~') > 0) {
@@ -515,5 +515,4 @@
                 continue;
             }
-
 
             // Get metadata item name
@@ -616,7 +615,7 @@
             case PS_META_F32:
             case PS_META_F64:
-                tempValue = parseValue(strValue, &status);
+                tempDbl = parseValue(strValue, &status);
                 if(!status) {
-                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempValue);
+                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempDbl);
                 } else {
                     status = 0;
Index: /trunk/psLib/src/collections/psMetadata.c
===================================================================
--- /trunk/psLib/src/collections/psMetadata.c	(revision 2003)
+++ /trunk/psLib/src/collections/psMetadata.c	(revision 2004)
@@ -12,6 +12,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-06 23:27:27 $
+*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:41 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -159,5 +159,5 @@
         break;
     case PS_META_S32:
-        metadataItem->data.S32 = va_arg(argPtr, psS32);
+        metadataItem->data.S32 = (psS32)va_arg(argPtr, psF64);
         break;
     case PS_META_F32:
Index: /trunk/psLib/src/collections/psMetadataIO.c
===================================================================
--- /trunk/psLib/src/collections/psMetadataIO.c	(revision 2003)
+++ /trunk/psLib/src/collections/psMetadataIO.c	(revision 2004)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-07 02:16:36 $
+*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:59 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -462,5 +462,5 @@
     int lineCount = 0;
     int failedLines = 0;
-    psF64 tempValue = 0.0;
+    psF64 tempDbl = 0.0;
     psMetadataItem *metadataItem = NULL;
     psVector *tempVec = NULL;
@@ -508,5 +508,5 @@
             } else if(repeatedChars(linePtr, '*') > 1) {
                 failedLines++;
-                psError(__func__, "More than one @ charecter not allowed. Line %d: %s", lineCount, line);
+                psError(__func__, "More than one * charecter not allowed. Line %d: %s", lineCount, line);
                 continue;
             } else if(repeatedChars(linePtr, '~') > 0) {
@@ -515,5 +515,4 @@
                 continue;
             }
-
 
             // Get metadata item name
@@ -616,7 +615,7 @@
             case PS_META_F32:
             case PS_META_F64:
-                tempValue = parseValue(strValue, &status);
+                tempDbl = parseValue(strValue, &status);
                 if(!status) {
-                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempValue);
+                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempDbl);
                 } else {
                     status = 0;
Index: /trunk/psLib/src/types/psMetadata.c
===================================================================
--- /trunk/psLib/src/types/psMetadata.c	(revision 2003)
+++ /trunk/psLib/src/types/psMetadata.c	(revision 2004)
@@ -12,6 +12,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-06 23:27:27 $
+*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:41 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -159,5 +159,5 @@
         break;
     case PS_META_S32:
-        metadataItem->data.S32 = va_arg(argPtr, psS32);
+        metadataItem->data.S32 = (psS32)va_arg(argPtr, psF64);
         break;
     case PS_META_F32:
Index: /trunk/psLib/src/types/psMetadataConfig.c
===================================================================
--- /trunk/psLib/src/types/psMetadataConfig.c	(revision 2003)
+++ /trunk/psLib/src/types/psMetadataConfig.c	(revision 2004)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-07 02:16:36 $
+*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:59 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -462,5 +462,5 @@
     int lineCount = 0;
     int failedLines = 0;
-    psF64 tempValue = 0.0;
+    psF64 tempDbl = 0.0;
     psMetadataItem *metadataItem = NULL;
     psVector *tempVec = NULL;
@@ -508,5 +508,5 @@
             } else if(repeatedChars(linePtr, '*') > 1) {
                 failedLines++;
-                psError(__func__, "More than one @ charecter not allowed. Line %d: %s", lineCount, line);
+                psError(__func__, "More than one * charecter not allowed. Line %d: %s", lineCount, line);
                 continue;
             } else if(repeatedChars(linePtr, '~') > 0) {
@@ -515,5 +515,4 @@
                 continue;
             }
-
 
             // Get metadata item name
@@ -616,7 +615,7 @@
             case PS_META_F32:
             case PS_META_F64:
-                tempValue = parseValue(strValue, &status);
+                tempDbl = parseValue(strValue, &status);
                 if(!status) {
-                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempValue);
+                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempDbl);
                 } else {
                     status = 0;
Index: /trunk/psLib/src/xml/psXML.c
===================================================================
--- /trunk/psLib/src/xml/psXML.c	(revision 2003)
+++ /trunk/psLib/src/xml/psXML.c	(revision 2004)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-10-07 02:16:36 $
+*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-10-07 19:31:59 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -462,5 +462,5 @@
     int lineCount = 0;
     int failedLines = 0;
-    psF64 tempValue = 0.0;
+    psF64 tempDbl = 0.0;
     psMetadataItem *metadataItem = NULL;
     psVector *tempVec = NULL;
@@ -508,5 +508,5 @@
             } else if(repeatedChars(linePtr, '*') > 1) {
                 failedLines++;
-                psError(__func__, "More than one @ charecter not allowed. Line %d: %s", lineCount, line);
+                psError(__func__, "More than one * charecter not allowed. Line %d: %s", lineCount, line);
                 continue;
             } else if(repeatedChars(linePtr, '~') > 0) {
@@ -515,5 +515,4 @@
                 continue;
             }
-
 
             // Get metadata item name
@@ -616,7 +615,7 @@
             case PS_META_F32:
             case PS_META_F64:
-                tempValue = parseValue(strValue, &status);
+                tempDbl = parseValue(strValue, &status);
                 if(!status) {
-                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempValue);
+                    psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempDbl);
                 } else {
                     status = 0;
