IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 20, 2018, 8:58:31 PM (8 years ago)
Author:
eugene
Message:

add snprintf_nowarn function to avoid compiler warnings from desired snprint truncations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/load_catalogs.c

    r39926 r40549  
    144144
    145145  if (PARALLEL_MANUAL && MANUAL_UNIQUER) {
    146     snprintf (uniquer, 12, "%11s", MANUAL_UNIQUER);
     146    snprintf_nowarn (uniquer, 12, "%11s", MANUAL_UNIQUER);
    147147  } else {
    148     snprintf (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
     148    snprintf_nowarn (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
    149149  }
    150150
Note: See TracChangeset for help on using the changeset viewer.