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

    r38471 r40549  
    102102  int TIME = time(NULL);
    103103  int PID = getpid();
    104   snprintf (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
     104  snprintf_nowarn (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
    105105
    106106  // load the list of hosts
Note: See TracChangeset for help on using the changeset viewer.