Changeset 4805 for nanovis


Ignore:
Timestamp:
Dec 1, 2014, 8:15:21 AM (5 years ago)
Author:
ldelgass
Message:

drop int from long, formatting

Location:
nanovis/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/Command.cpp

    r4794 r4805  
    887887    /* date_secs */
    888888    Tcl_ListObjAppendElement(interp, listObjPtr,
    889                 Tcl_NewStringObj("date_secs", 9));
     889                             Tcl_NewStringObj("date_secs", 9));
    890890    Tcl_ListObjAppendElement(interp, listObjPtr,
    891                 Tcl_NewLongObj(g_stats.start.tv_sec));
     891                             Tcl_NewLongObj(g_stats.start.tv_sec));
    892892    /* Client arguments. */
    893893    if (Tcl_ListObjGetElements(interp, objv[1], &numItems, &items) != TCL_OK) {
  • nanovis/trunk/nanovisServer.cpp

    r4794 r4805  
    225225    /* num_frames */
    226226    Tcl_DStringAppendElement(&ds, "num_frames");
    227     sprintf(buf, "%lu", (unsigned long int)g_stats.nFrames);
     227    sprintf(buf, "%lu", (unsigned long)g_stats.nFrames);
    228228    Tcl_DStringAppendElement(&ds, buf);
    229229    /* frame_bytes */
    230230    Tcl_DStringAppendElement(&ds, "frame_bytes");
    231     sprintf(buf, "%lu", (unsigned long int)g_stats.nFrameBytes);
     231    sprintf(buf, "%lu", (unsigned long)g_stats.nFrameBytes);
    232232    Tcl_DStringAppendElement(&ds, buf);
    233233    /* num_commands */
    234234    Tcl_DStringAppendElement(&ds, "num_commands");
    235     sprintf(buf, "%lu", (unsigned long int)g_stats.nCommands);
     235    sprintf(buf, "%lu", (unsigned long)g_stats.nCommands);
    236236    Tcl_DStringAppendElement(&ds, buf);
    237237    /* cmd_time */
Note: See TracChangeset for help on using the changeset viewer.