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/relphot/src/load_catalogs.c

    r39641 r40549  
    117117
    118118  if (PARALLEL_MANUAL && MANUAL_UNIQUER) {
    119     snprintf (uniquer, 12, "%11s", MANUAL_UNIQUER);
     119    snprintf_nowarn (uniquer, 12, "%11s", MANUAL_UNIQUER);
    120120  } else {
    121     snprintf (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
     121    snprintf_nowarn (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
    122122  }
    123123
Note: See TracChangeset for help on using the changeset viewer.