IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28238


Ignore:
Timestamp:
Jun 6, 2010, 3:22:43 PM (16 years ago)
Author:
eugene
Message:

fix minor printing cases using opaque types

Location:
branches/eam_branches/Ohana.20100606/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/Ohana.20100606/src/addstar/src/sky_tessalation.c

    r28237 r28238  
    940940int dvo_image_clear_vtable (FITS_DB *db) {
    941941
    942   int i;
     942  int i, nbytes;
    943943
    944944  // free memory used by the current vtable rows
     
    951951
    952952  // reset db[0].theader(NAXIS1) to match Image
    953   gfits_modify (&db[0].theader, "NAXIS1", OFF_T_FMT, 1,  sizeof(Image));
     953  nbytes = sizeof(Image);
     954  gfits_modify (&db[0].theader, "NAXIS1", "%d", 1,  nbytes);
    954955  db[0].theader.Naxis[0] = sizeof(Image);
    955956
  • branches/eam_branches/Ohana.20100606/src/opihi/pcontrol/StartHost.c

    r28237 r28238  
    1414  if (VarConfig ("SHELL", "%s", shell)     == NULL) strcpy (shell, "pclient");
    1515
    16 #ifndef __APPLE__
    17   if (VerboseMode()) gprint (GP_ERR, "starting host within thread "OFF_T_FMT"\n",  pthread_self());
    18 #endif
     16  if (VerboseMode()) gprint (GP_ERR, "starting host within thread\n");
     17
    1918  pid = rconnect (command, host[0].hostname, shell, stdio);
    2019  if (!pid) {     
  • branches/eam_branches/Ohana.20100606/src/opihi/pcontrol/StopHosts.c

    r28237 r28238  
    128128  int i, result, waitstatus;
    129129
    130 #ifndef __APPLE__
    131   if (VerboseMode()) gprint (GP_ERR, "harvesting within thread "OFF_T_FMT"\n",  pthread_self());
    132 #endif
     130  if (VerboseMode()) gprint (GP_ERR, "harvesting within thread\n");
    133131  if (VerboseMode()) gprint (GP_ERR, "child process %d is down, wait for exit status\n", pid);
    134132 
Note: See TracChangeset for help on using the changeset viewer.