Changeset 3404


Ignore:
Timestamp:
Mar 1, 2013 12:19:38 PM (8 years ago)
Author:
ldelgass
Message:

Fix compiler warnings

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/RpConvertDxToVtk.c

    r3177 r3404  
    106106    }
    107107    free(array);
    108     *stringPtr = p;
     108    *stringPtr = (char *)p;
    109109    return TCL_OK;
    110110}
     
    125125    double origin[3];
    126126    int count[3];
    127     int length, nComponents, nValues, nPoints;
     127    int length, nComponents, nPoints;
    128128    char *name;
    129129
     
    187187#endif
    188188        } else if (sscanf(line, "object %*d class regulararray count %d",
    189                           count[2]) == 1) {
     189                          &count[2]) == 1) {
    190190           
    191191        } else if (sscanf(line, "object %*d class array type %*s shape 3"
  • trunk/gui/src/RpReadPoints.c

    r3330 r3404  
    114114    listObjPtr = Tcl_NewListObj(0, (Tcl_Obj **)NULL);
    115115    for (p = string, pend = p + length; p < pend; /*empty*/) {
    116         const char *line;
    117116        int i, argc;
    118117        const char **argv;
    119         char saved;
    120118        int result;
    121119
     
    136134        }
    137135        if (dim != argc) {
    138             Tcl_AppendResult(interp, "wrong # of elements on line \"",
    139                         line, "\"", (char *)NULL);
     136            Tcl_AppendResult(interp, "wrong # of elements on line", (char *)NULL);
    140137            Tcl_Free((char *)argv);
    141138            goto error;
  • trunk/lang/tcl/src/Rappture_Init.c

    r3177 r3404  
    2626extern Tcl_AppInitProc RpRusage_Init;
    2727extern Tcl_AppInitProc RpSignal_Init;
    28 extern Tcl_AppInitProc RpSplit_Init;
     28extern Tcl_AppInitProc RpSlice_Init;
    2929extern Tcl_AppInitProc RpSysinfo_Init;
    3030extern Tcl_AppInitProc RpDaemon_Init;
  • trunk/src/core/RpSimpleBuffer.h

    r3177 r3404  
    644644
    645645    while (curMemb != _numElemsUsed) {
    646         fprintf(stdout,"_buf[%lu] = :%#x:\n", (long unsigned int)curMemb,
     646        fprintf(stdout,"_buf[%lu] = :%#lx:\n", (long unsigned int)curMemb,
    647647                (unsigned long)_buf[curMemb]);
    648648        curMemb += 1;
Note: See TracChangeset for help on using the changeset viewer.