Index: trunk/psLib/src/sysUtils/psType.h
===================================================================
--- trunk/psLib/src/sysUtils/psType.h	(revision 3341)
+++ trunk/psLib/src/sysUtils/psType.h	(revision 3381)
@@ -10,6 +10,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-02-28 23:34:10 $
+*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-03-07 20:58:50 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -50,4 +50,5 @@
 typedef float psF32;                   ///< 32-bit floating point
 typedef double psF64;                  ///< 64-bit floating point
+
 #ifdef SWIG
 typedef struct
@@ -65,4 +66,5 @@
 typedef double _Complex psC64;         ///< complex with 64-bit floating point Real and Imagary numbers
 #endif
+
 typedef void* psPtr;                   ///< void pointer
 typedef bool psBool;                   ///< boolean value
@@ -204,5 +206,5 @@
 #define PS_IS_PSELEMTYPE_BOOL(x) ((x & 0x1000) == 0x1000)
 /// Macro to determine the storage size, in bytes, of the psElemType.
-#define PSELEMTYPE_SIZEOF(x) ( (x==PS_TYPE_PTR) ? sizeof(psPtr) :(x & 0xFF) )
+#define PSELEMTYPE_SIZEOF(x) ( (x==(PS_TYPE_PTR&0xFFFF)) ? sizeof(psPtr) :(x & 0xFF) )
 
 /** Dimensions of a data type.
