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/cmd.basic/module.c

    r12332 r40549  
    2323  /* search for requested file in MODULES:0 - MODULES:n */
    2424  for (i = 0; i < Nmodules; i++) {
    25     snprintf (modname, 16, "MODULES:%d", i);
     25    snprintf_nowarn (modname, 16, "MODULES:%d", i);
    2626    modpath = get_variable (modname);
    2727    if (modpath == NULL) {
Note: See TracChangeset for help on using the changeset viewer.