Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/loadICRF_remote_hosts.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/loadICRF_remote_hosts.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/loadICRF_remote_hosts.c	(revision 43012)
@@ -100,5 +100,5 @@
   EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
   printHead = VERBOSE || (host->stdout.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
   if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -109,5 +109,5 @@
   EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
   printHead = VERBOSE || (host->stderr.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
   if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/loadstarpar_remote_hosts.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/loadstarpar_remote_hosts.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/loadstarpar_remote_hosts.c	(revision 43012)
@@ -103,6 +103,6 @@
   EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
   printHead = VERBOSE || (host->stdout.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
-  Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+  Nout = write (STDOUT_FILENO, host->stdout.buffer, (size_t) host->stdout.Nbuffer);
   if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
   FlushIOBuffer (&host->stdout);
@@ -112,5 +112,5 @@
   EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
   printHead = VERBOSE || (host->stderr.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
   if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/setobjflags_remote_hosts.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/setobjflags_remote_hosts.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/addstar/src/setobjflags_remote_hosts.c	(revision 43012)
@@ -114,5 +114,5 @@
   EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
   printHead = VERBOSE || (host->stdout.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
   if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -123,5 +123,5 @@
   EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
   printHead = VERBOSE || (host->stderr.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
   if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_FGshape_dvopsps_catalog.c	(revision 43012)
@@ -121,5 +121,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   buffer.Nbuffer = 0;
@@ -164,5 +164,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
 
@@ -297,5 +297,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", ave_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", ave_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
@@ -307,5 +307,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", gal_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", gal_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_FWobjects_dvopsps_catalog.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_FWobjects_dvopsps_catalog.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_FWobjects_dvopsps_catalog.c	(revision 43012)
@@ -135,5 +135,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   buffer.Nbuffer = 0;
@@ -181,5 +181,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   buffer.Nbuffer = 0;
@@ -255,5 +255,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
 
@@ -566,5 +566,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", ave_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", ave_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
@@ -576,5 +576,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", sec_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", sec_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
@@ -586,5 +586,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", cpy_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", cpy_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c	(revision 43012)
@@ -223,5 +223,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", buffer->Nbuffer);
       if (DEBUG) {
 	FILE *f = fopen ("dvopsps.dump.sql", "w");
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_diffobj_dvopsps_catalog.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_diffobj_dvopsps_catalog.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_diffobj_dvopsps_catalog.c	(revision 43012)
@@ -107,5 +107,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   buffer.Nbuffer = 0;
@@ -148,5 +148,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   // result = mysql_store_result (mysql);
@@ -362,5 +362,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", ave_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", ave_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
@@ -372,5 +372,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", sec_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", sec_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_objects_dvopsps_catalog.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_objects_dvopsps_catalog.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_objects_dvopsps_catalog.c	(revision 43012)
@@ -147,5 +147,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   // result = mysql_store_result (mysql);
@@ -190,5 +190,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
   }
   // result = mysql_store_result (mysql);
@@ -403,5 +403,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", ave_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", ave_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
@@ -413,5 +413,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", sec_buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", sec_buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_skytable.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_skytable.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/dvopsps/src/insert_skytable.c	(revision 43012)
@@ -101,5 +101,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", buffer->Nbuffer);
     }
     result = mysql_store_result (mysql);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/fakeastro/src/remote_hosts.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/fakeastro/src/remote_hosts.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/fakeastro/src/remote_hosts.c	(revision 43012)
@@ -97,5 +97,5 @@
   EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
   printHead = VERBOSE || (host->stdout.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
   if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -106,5 +106,5 @@
   EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
   printHead = VERBOSE || (host->stderr.Nbuffer > 0);
-  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
   Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
   if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libdvo/src/HostTable.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libdvo/src/HostTable.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libdvo/src/HostTable.c	(revision 43012)
@@ -429,5 +429,5 @@
 	if (table->hosts[i].stdout.Nbuffer > 0x1000) {
 	  int printHead = VERBOSE && (table->hosts[i].stdout.Nbuffer > 0);
-	  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stdout.Nbuffer);
+	  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stdout.Nbuffer);
 	  int Nout = write (STDOUT_FILENO, table->hosts[i].stdout.buffer, table->hosts[i].stdout.Nbuffer);
 	  if (Nout != table->hosts[i].stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -443,5 +443,5 @@
 	if (table->hosts[i].stderr.Nbuffer > 0x1000) {
 	  int printHead = VERBOSE && (table->hosts[i].stderr.Nbuffer > 0);
-	  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stderr.Nbuffer);
+	  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stderr.Nbuffer);
 	  int Nout = write (STDOUT_FILENO, table->hosts[i].stderr.buffer, table->hosts[i].stderr.Nbuffer);
 	  if (Nout != table->hosts[i].stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -482,5 +482,5 @@
 	printHead = VERBOSE || (host->stdout.Nbuffer > 0);
 	EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
-	if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+	if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
 	int Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
 	if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -491,5 +491,5 @@
 	printHead = VERBOSE || (host->stderr.Nbuffer > 0);
 	EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
-	if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+	if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
 	Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
 	if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -602,5 +602,5 @@
 	if (table->hosts[i][0].stdout.Nbuffer > 0x1000) {
 	  int printHead = VERBOSE || (table->hosts[i][0].stdout.Nbuffer > 0);
-	  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v1)\n", table->hosts[i][0].hostname, table->hosts[i][0].stdout.Nbuffer);
+	  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v1)\n", table->hosts[i][0].hostname, table->hosts[i][0].stdout.Nbuffer);
 	  int Nout = write (STDOUT_FILENO, table->hosts[i][0].stdout.buffer, table->hosts[i][0].stdout.Nbuffer);
 	  if (Nout != table->hosts[i][0].stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -616,5 +616,5 @@
 	if (table->hosts[i][0].stderr.Nbuffer > 0x1000) {
 	  int printHead = VERBOSE || (table->hosts[i][0].stderr.Nbuffer > 0);
-	  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v1)\n", table->hosts[i][0].hostname, table->hosts[i][0].stderr.Nbuffer);
+	  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v1)\n", table->hosts[i][0].hostname, table->hosts[i][0].stderr.Nbuffer);
 	  int Nout = write (STDOUT_FILENO, table->hosts[i][0].stderr.buffer, table->hosts[i][0].stderr.Nbuffer);
 	  if (Nout != table->hosts[i][0].stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -655,5 +655,5 @@
 	printHead = VERBOSE || (host->stdout.Nbuffer > 0);
 	EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
-	if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+	if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
 	int Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
 	if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -664,5 +664,5 @@
 	printHead = VERBOSE || (host->stderr.Nbuffer > 0);
 	EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
-	if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+	if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
 	Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
 	if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libdvo/src/RegionHostTable.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libdvo/src/RegionHostTable.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libdvo/src/RegionHostTable.c	(revision 43012)
@@ -412,5 +412,5 @@
 	if (table->hosts[i].stdout.Nbuffer > 0x1000) {
 	  int printHead = VERBOSE || (table->hosts[i].stdout.Nbuffer > 0);
-	  if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stdout.Nbuffer);
+	  if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stdout.Nbuffer);
 	  int Nout = write (STDOUT_FILENO, table->hosts[i].stdout.buffer, table->hosts[i].stdout.Nbuffer);
 	  if (Nout != table->hosts[i].stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -426,5 +426,5 @@
 	if (table->hosts[i].stderr.Nbuffer > 0x1000) {
 	  int printHead = VERBOSE || (table->hosts[i].stderr.Nbuffer > 0);
-	  if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stderr.Nbuffer);
+	  if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v1)\n", table->hosts[i].hostname, table->hosts[i].stderr.Nbuffer);
 	  int Nout = write (STDOUT_FILENO, table->hosts[i].stderr.buffer, table->hosts[i].stderr.Nbuffer);
 	  if (Nout != table->hosts[i].stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -465,5 +465,5 @@
 	printHead = VERBOSE || (host->stdout.Nbuffer > 0);
 	EmptyIOBuffer (&host->stdout, 100, host->stdio[HOST_STDOUT]);
-	if (printHead) fprintf (stdout, "--- stdout from %s --- (%d bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
+	if (printHead) fprintf (stdout, "--- stdout from %s --- (%lu bytes, v2)\n", host->hostname, host->stdout.Nbuffer);
 	int Nout = write (STDOUT_FILENO, host->stdout.buffer, host->stdout.Nbuffer);
 	if (Nout != host->stdout.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
@@ -474,5 +474,5 @@
 	printHead = VERBOSE || (host->stderr.Nbuffer > 0);
 	EmptyIOBuffer (&host->stderr, 100, host->stdio[HOST_STDERR]);
-	if (printHead) fprintf (stdout, "--- stderr from %s --- (%d bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
+	if (printHead) fprintf (stdout, "--- stderr from %s --- (%lu bytes, v2)\n", host->hostname, host->stderr.Nbuffer);
 	Nout = write (STDOUT_FILENO, host->stderr.buffer, host->stderr.Nbuffer);
 	if (Nout != host->stderr.Nbuffer) { fprintf (stderr, "(error writing log?)\n"); }
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libohana/include/ohana.h
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libohana/include/ohana.h	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/libohana/include/ohana.h	(revision 43012)
@@ -283,8 +283,8 @@
 typedef struct {
   char *buffer;
-  int   Nalloc;
-  int   Nreset;
-  int   Nblock;
-  int   Nbuffer;
+  size_t Nalloc;
+  size_t Nreset;
+  size_t Nblock;
+  size_t Nbuffer;
 } IOBuffer;
 
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/CheckJobs.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/CheckJobs.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/CheckJobs.c	(revision 43012)
@@ -51,5 +51,5 @@
 	/* push output buffer data to the stdout and stderr queues */
 	/* XXX this will break on 0 values in output streams */
-	if (DEBUG) fprintf (stderr, "job: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+	if (DEBUG) fprintf (stderr, "job: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
 	PushNamedQueue ("stdout", job[0].stdout_buff.buffer);
 	PushNamedQueue ("stderr", job[0].stderr_buff.buffer);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/CheckTasks.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/CheckTasks.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/CheckTasks.c	(revision 43012)
@@ -80,5 +80,5 @@
     }
 
-    if (DEBUG) fprintf (stderr, "create job: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+    if (DEBUG) fprintf (stderr, "create job: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
 
     /* execute job */
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/JobOps.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/JobOps.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/JobOps.c	(revision 43012)
@@ -256,5 +256,5 @@
 
   if (job[0].mode == JOB_LOCAL) {
-    if (DEBUG) fprintf (stderr, "submit job: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+    if (DEBUG) fprintf (stderr, "submit job: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
     status = SubmitLocalJob (job);
   } else {
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/ListenClients.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/ListenClients.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/ListenClients.c	(revision 43012)
@@ -137,5 +137,5 @@
       }
 
-      if (DEBUG) fprintf (stderr, "read %d total bytes\n", buffers[i][0].Nbuffer);
+      if (DEBUG) fprintf (stderr, "read %lu total bytes\n", buffers[i][0].Nbuffer);
 
       /* see if we have a complete message waiting; if not, keep waiting for messages */
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/LocalJob.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/LocalJob.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/LocalJob.c	(revision 43012)
@@ -16,8 +16,8 @@
 
   if ((job[0].state == JOB_EXIT) || (job[0].state == JOB_CRASH)) {
-    if (DEBUG) fprintf (stderr, "empty buffer 0: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+    if (DEBUG) fprintf (stderr, "empty buffer 0: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
     EmptyIOBuffer (&job[0].stdout_buff, 10, job[0].stdout_fd);
     EmptyIOBuffer (&job[0].stderr_buff, 10, job[0].stderr_fd);
-    if (DEBUG) fprintf (stderr, "empty buffer 1: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+    if (DEBUG) fprintf (stderr, "empty buffer 1: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
     close (job[0].stdout_fd);
     close (job[0].stderr_fd);
@@ -26,5 +26,5 @@
   } else {
     /* read stdout buffer */
-    if (DEBUG) fprintf (stderr, "read buffer 0: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+    if (DEBUG) fprintf (stderr, "read buffer 0: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
     while ((Nread = ReadtoIOBuffer (&job[0].stdout_buff, job[0].stdout_fd)) > 0);
     switch (Nread) {
@@ -35,8 +35,8 @@
       case 0:   /* pipe is closed, change child state? **/
       default:  /* data in pipe */
-	// fprintf (stderr, "read %d bytes (Nblock: %d, Nbuffer: %d)\n", Nread, job[0].stdout.Nblock, job[0].stdout.Nbuffer);
+	// fprintf (stderr, "read %d bytes (Nblock: %lu, Nbuffer: %lu)\n", Nread, job[0].stdout.Nblock, job[0].stdout.Nbuffer);
 	break;
     }
-    if (DEBUG) fprintf (stderr, "read buffer 1: (%zx) %d of %d\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
+    if (DEBUG) fprintf (stderr, "read buffer 1: (%zx) %lu of %lu\n", (size_t) job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc); 
   
     /* read stderr buffer */
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/controller_check.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/controller_check.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pantasks/controller_check.c	(revision 43012)
@@ -23,5 +23,5 @@
   if (VerboseMode()) {
     gprint (GP_LOG, "controller command sent\n");  
-    gprint (GP_LOG, "\n Nbytes received: %d\n", buffer.Nbuffer);  
+    gprint (GP_LOG, "\n Nbytes received: %lu\n", buffer.Nbuffer);  
   }
   gwrite (buffer.buffer, 1, buffer.Nbuffer, GP_LOG);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pclient/status.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pclient/status.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pclient/status.c	(revision 43012)
@@ -18,6 +18,6 @@
   gprint (GP_LOG, "STATUS %s\n", status_string);
   gprint (GP_LOG, "EXITST %d\n", ChildExitStatus);
-  gprint (GP_LOG, "STDOUT %d\n", child_stdout.Nbuffer);
-  gprint (GP_LOG, "STDERR %d\n", child_stderr.Nbuffer);
+  gprint (GP_LOG, "STDOUT %lu\n", child_stdout.Nbuffer);
+  gprint (GP_LOG, "STDERR %lu\n", child_stderr.Nbuffer);
 
   set_str_variable ("JOBSTATUS", status_string);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pcontrol/GetJobOutput.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pcontrol/GetJobOutput.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/opihi/pcontrol/GetJobOutput.c	(revision 43012)
@@ -39,5 +39,5 @@
 	  if (status == -1) nanosleep (&request, &remain);
       }
-      if (VerboseMode()) gprint (GP_ERR, "%s\n Read %d of %d bytes so far\n", output[0].buffer.buffer, output[0].buffer.Nbuffer, output[0].size);
+      if (VerboseMode()) gprint (GP_ERR, "%s\n Read %lu of %d bytes so far\n", output[0].buffer.buffer, output[0].buffer.Nbuffer, output[0].size);
       if (status == 0) {
 	  if (VerboseMode()) gprint (GP_ERR, "host %s is down\n", host[0].hostname);
@@ -58,5 +58,5 @@
     if (status == -1) nanosleep (&request, &remain);
   }
-  if (VerboseMode()) gprint (GP_ERR, "%s\n Read %d of %d bytes so far\n", output[0].buffer.buffer, output[0].buffer.Nbuffer, output[0].size);
+  if (VerboseMode()) gprint (GP_ERR, "%s\n Read %lu of %d bytes so far\n", output[0].buffer.buffer, output[0].buffer.Nbuffer, output[0].size);
   if (status == 0) {
     if (VerboseMode()) gprint (GP_ERR, "host %s is down\n", host[0].hostname);
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/photdbc/src/PclientCommands.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/photdbc/src/PclientCommands.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/photdbc/src/PclientCommands.c	(revision 43012)
@@ -91,5 +91,5 @@
 	if (status == -1) nanosleep (&request, &remain);
     }
-    if (DEBUG) fprintf (stderr, "Read %d of %d bytes so far\n", output->Nbuffer, size);
+    if (DEBUG) fprintf (stderr, "Read %lu of %d bytes so far\n", output->Nbuffer, size);
     if (status == 0) {
 	fprintf (stderr, "client down\n");
@@ -109,5 +109,5 @@
 	if (status == -1) nanosleep (&request, &remain);
     }
-    if (DEBUG) fprintf (stderr, "Read %d of %d bytes so far\n", output->Nbuffer, size);
+    if (DEBUG) fprintf (stderr, "Read %lu of %d bytes so far\n", output->Nbuffer, size);
     if (!status) {
 	fprintf (stderr, "pclient down?\n");	      // return PCLIENT_DOWN;
Index: /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/tools/src/fits_to_mysql.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/tools/src/fits_to_mysql.c	(revision 43011)
+++ /branches/eam_branches/ipp-pstamp-20260421/Ohana/src/tools/src/fits_to_mysql.c	(revision 43012)
@@ -478,5 +478,5 @@
     fprintf (stderr, "failed to create table:\n");
     fprintf (stderr, "%s\n", mysql_error(mysql));
-    fprintf (stderr, "Nbuffer: %d\n", buffer.Nbuffer);
+    fprintf (stderr, "Nbuffer: %lu\n", buffer.Nbuffer);
     dump_on_failure (&buffer);
   }
@@ -937,5 +937,5 @@
       fprintf (stderr, "error with insert:\n");
       fprintf (stderr, "%s\n", mysql_error(mysql));
-      fprintf (stderr, "Nbuffer: %d\n", buffer->Nbuffer);
+      fprintf (stderr, "Nbuffer: %lu\n", buffer->Nbuffer);
       dump_on_failure (buffer);
     }
