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/opihi/dvo/dvo_host_utils.c

    r40408 r40549  
    1313  int TIME = time(NULL);
    1414  int PID = getpid();
    15   snprintf (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
     15  snprintf_nowarn (uniquer, 12, "%05d.%05d", PID, TIME % 100000);
    1616
    1717  // write the dvo comment (host independent)
Note: See TracChangeset for help on using the changeset viewer.