Index: trunk/psLib/src/collections/psVector.c
===================================================================
--- trunk/psLib/src/collections/psVector.c	(revision 3682)
+++ trunk/psLib/src/collections/psVector.c	(revision 3684)
@@ -9,6 +9,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-07 20:27:41 $
+*  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-08 17:58:57 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -55,5 +55,5 @@
     psVec->type.dimen = PS_DIMEN_VECTOR;
     psVec->type.type = elemType;
-    psVec->nalloc = nalloc;
+    *(int*)&psVec->nalloc = nalloc;
     psVec->n = nalloc;
 
@@ -81,5 +81,5 @@
         // Realloc after decrementation to avoid accessing freed array elements
         in->data.U8 = psRealloc(in->data.U8, nalloc * elementSize);
-        in->nalloc = nalloc;
+        *(int*)&in->nalloc = nalloc;
     }
 
@@ -108,5 +108,5 @@
     if (byteSize > in->nalloc*PSELEMTYPE_SIZEOF(in->type.type)) {
         in->data.U8 = psRealloc(in->data.U8, byteSize);
-        in->nalloc = n;
+        *(int*)&in->nalloc = n;
     }
 
