Changeset 897 for pjproject


Ignore:
Timestamp:
Jan 23, 2007 4:17:56 AM (18 years ago)
Author:
bennylp
Message:

Fixed several compilation warnings with MSVC

Location:
pjproject/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/build/pjlib_util_test.dsp

    r65 r897  
    7575LINK32=link.exe 
    7676# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept 
    77 # ADD LINK32 netapi32.lib mswsock.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../bin/pjlib-util-test-i386-win32-vc6-debug.exe" /pdbtype:sept 
     77# ADD LINK32 netapi32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"../bin/pjlib-util-test-i386-win32-vc6-debug.exe" /pdbtype:sept 
    7878 
    7979!ENDIF  
  • pjproject/trunk/pjlib/src/pj/addr_resolv_sock.c

    r885 r897  
    6262    loopip = pj_inet_addr(&cp); 
    6363 
     64#ifdef _MSC_VER 
     65    /* Get rid of "uninitialized he variable" with MS compilers */ 
     66    pj_bzero(&he, sizeof(he)); 
     67#endif 
     68 
    6469    /* Try with resolving local hostname first */ 
    6570    status = pj_gethostbyname(hostname, &he); 
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c

    r592 r897  
    843843                          "elapsed=in timer ticks")); 
    844844 
    845 pass1: 
     845//pass1: 
    846846    PJ_LOG(3, (THIS_FILE, "...Benchmarking poll times for %s:", pj_ioqueue_name())); 
    847847    PJ_LOG(3, (THIS_FILE, "...=====================================")); 
     
    856856            return status; 
    857857    } 
    858 pass2: 
     858//pass2: 
    859859    bufsize = 512; 
    860860    for (sock_count=SOCK_INACTIVE_MIN+2;  
  • pjproject/trunk/pjlib/src/pjlib-test/thread.c

    r817 r897  
    188188    pj_uint32_t counter[NUM_THREADS], lowest, highest, diff; 
    189189    pj_thread_t *thread[NUM_THREADS]; 
    190     int i; 
     190    unsigned i; 
    191191    pj_status_t rc; 
    192192 
Note: See TracChangeset for help on using the changeset viewer.