IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31373


Ignore:
Timestamp:
Apr 25, 2011, 2:10:18 PM (15 years ago)
Author:
bills
Message:

work around compile error encountered at MPIA gcc version 4.4.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/extras/pmVisualUtils.c

    r31153 r31373  
    416416        return;
    417417    } else {
     418        int nwritten = 0;
    418419        if (comp->level == PM_DEFAULT_VISUAL_LEVEL) {
    419420            sprintf(line,"%*s%-*s %d\n", depth, "", 20 - depth, comp->name, defLevel);
    420             fwrite (line, 1, strlen(line), output);
     421            nwritten = fwrite (line, 1, strlen(line), output);
    421422        } else {
    422423            sprintf(line, "%*s%-*s %d\n", depth, "", 20 - depth, comp->name, comp->level);
    423             fwrite (line, 1, strlen(line), output);
     424            nwritten = fwrite (line, 1, strlen(line), output);
    424425        }
    425426    }
Note: See TracChangeset for help on using the changeset viewer.