Ignore:
Timestamp:
Sep 29, 2009, 10:19:44 AM (15 years ago)
Author:
gah
Message:

Fixups for bit rot: gcc-4.4.1

Location:
trunk/packages/vizservers/nanovis
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/FlowCmd.cpp

    r1529 r1571  
    12961296
    12971297    string = Tcl_GetString(objPtr);
    1298     p = strrchr(string, '%');
     1298    p = strrchr((char *)string, '%');
    12991299    if (p == NULL) {
    13001300        float value;
  • trunk/packages/vizservers/nanovis/Makefile.in

    r1489 r1571  
    3333CG_INC_SPEC     = -I$(CG_DIR)/include
    3434CG_LIB_SPEC     = -L$(CG_DIR)/lib -lCg -lCgGL
    35 DX_DIR          = @DX_DIR@
    36 DX_INC_SPEC     = -I$(DX_DIR)/include
    37 DX_LIB_SPEC     = -L$(DX_DIR)/lib_linux -lDXcallm
     35DX_INC_SPEC      = @DX_INC_SPEC@
     36DX_LIB_SPEC      = @DX_LIB_SPEC@ -lDXcallm
    3837FF_LIB_SPEC     = -lavformat -lavcodec -lavutil
    3938# might also need -lavutil
  • trunk/packages/vizservers/nanovis/RpAVTranslate.cpp

    r1508 r1571  
    293293
    294294bool
    295 AVTranslate::allocPicture(Outcome &status, int pixFmt, AVFrame **framePtrPtr)
     295AVTranslate::allocPicture(Outcome &status, PixelFormat pixFmt,
     296     AVFrame **framePtrPtr)
    296297{
    297298    status.addContext("Rappture::AVTranslate::allocPicture()");
  • trunk/packages/vizservers/nanovis/RpAVTranslate.h

    r1515 r1571  
    4646private:
    4747    bool addVideoStream(Outcome &status, CodecID codecId, AVStream **stream);
    48     bool allocPicture(Outcome &status, int pixFmt, AVFrame **pic );
     48    bool allocPicture(Outcome &status, PixelFormat pixFmt, AVFrame **pic );
    4949    bool openVideo(Outcome &status);
    5050    bool writeVideoFrame(Outcome &status);
  • trunk/packages/vizservers/nanovis/VolumeRenderer.cpp

    r1495 r1571  
    350350       
    351351    } //iterate all volumes
    352     fprintf(stderr, "total slices: %d\n", total_rendered_slices);
    353352    Trace("end loop\n");
    354353   
  • trunk/packages/vizservers/nanovis/nanovis.cpp

    r1544 r1571  
    2222#include <getopt.h>
    2323#include <iostream>
    24 #include <math.h>
     24#include <cmath>
    2525#include <memory.h>
    2626#include <signal.h>
    2727#include <sstream>
    28 #include <stdio.h>
    29 #include <stdlib.h>
     28#include <cstdio>
     29#include <cstdlib>
    3030#include <string>
    3131#include <sys/resource.h>
     
    24332433#ifdef XINETD
    24342434        path = argv[0];
    2435         p = strrchr(path, '/');
     2435        p = strrchr((char *)path, '/');
    24362436        if (p != NULL) {
    24372437            *p = '\0';
    2438             p = strrchr(path, '/');
     2438            p = strrchr((char *)path, '/');
    24392439        }
    24402440        if (p == NULL) {
Note: See TracChangeset for help on using the changeset viewer.