Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 4311)
+++ trunk/psLib/src/db/psDB.c	(revision 4312)
@@ -12,6 +12,6 @@
  *  @author Joshua Hoblitt
  *
- *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-18 00:52:56 $
+ *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-18 00:53:32 $
  *
  *  Copyright 2005 Joshua Hoblitt, University of Hawaii
@@ -244,5 +244,5 @@
 }
 
-psArray *psDBSelectColumn(psDB *dbh, const char *tableName, const char *col, psU64 limit)
+psArray *psDBSelectColumn(psDB *dbh, const char *tableName, const char *col, unsigned long long limit)
 {
     MYSQL_RES       *result;            // complete db result set
@@ -339,5 +339,5 @@
 }
 
-psVector *psDBSelectColumnNum(psDB *dbh, const char *tableName, const char *col, psElemType pType, const psU64 limit)
+psVector *psDBSelectColumnNum(psDB *dbh, const char *tableName, const char *col, psElemType type, unsigned long long limit)
 {
     psArray         *stringColumn;      // source psArray
@@ -350,8 +350,8 @@
     }
 
-    column = psVectorAlloc(stringColumn->n, pType);
+    column = psVectorAlloc(stringColumn->n, type);
 
     // conversion functions are a portability issue
-    switch (pType) {
+    switch (type) {
     case PS_TYPE_S8:
         PS_STR_ARRAY_TO_PTYPE(column->data.S8, stringColumn, atoi, psS8, PS_TYPE_S8);
@@ -403,5 +403,5 @@
 }
 
-psArray *psDBSelectRows(psDB *dbh, const char *tableName, psMetadata *where, const psU64 limit)
+psArray *psDBSelectRows(psDB *dbh, const char *tableName, psMetadata *where, unsigned long long limit)
 {
     MYSQL_RES       *result;            // complete db result set
@@ -536,5 +536,5 @@
 }
 
-bool psDBInsertRows(psDB *dbh, const char *tableName, psArray *rowSet)
+bool psDBInsertRows(psDB *dbh, const char *tableName, const psArray *rowSet)
 {
     psMetadata      *row;               // row of data
Index: trunk/psLib/src/db/psDB.h
===================================================================
--- trunk/psLib/src/db/psDB.h	(revision 4311)
+++ trunk/psLib/src/db/psDB.h	(revision 4312)
@@ -10,6 +10,6 @@
  *  @author Joshua Hoblitt
  *
- *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-07 02:29:44 $
+ *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-18 00:53:32 $
  *
  *  Copyright 2005 Joshua Hoblitt, University of Hawaii
@@ -143,5 +143,5 @@
     const char *tableName,              ///< Table name
     const char *col,                    ///< Column name
-    const psU64 limit                   ///< Maximum number of elements to return
+    unsigned long long limit                   ///< Maximum number of elements to return
 );
 
@@ -158,6 +158,6 @@
     const char *tableName,              ///< Table name
     const char *col,                    ///< Column name
-    psElemType pType,                   ///< Resulting psVector type
-    const psU64 limit                   ///< Maximum number of elements to return
+    psElemType type,                   ///< Resulting psVector type
+    unsigned long long limit            ///< Maximum number of elements to return
 );
 
@@ -179,6 +179,6 @@
     psDB *dbh,                          ///< Database handle
     const char *tableName,              ///< Table name
-    psMetadata *where,                  ///< Row match criteria
-    const psU64 limit                   ///< Maximum number of elements to return
+    psMetadata *where,            ///< Row match criteria
+    unsigned long long limit            ///< Maximum number of elements to return
 );
 
@@ -212,5 +212,5 @@
     psDB *dbh,                          ///< Database handle
     const char *tableName,              ///< Table name
-    psArray *rowSet                     ///< Set of rows to insert
+    const psArray *rowSet                     ///< Set of rows to insert
 );
 
